mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 08:09:22 +00:00
* grub-core/normal/main.c (read_config_file): Provide config_file and
config_directory. * util/grub.d/41_custom.in: Use config_directoy when available.
This commit is contained in:
1 parent
9da59c3275
commit
40e80b9403
3 files changed
+33
-1
No files matched your search
@@ -1,6 +1,8 @@
|
||||
#!/bin/sh
|
||||
cat <<EOF
|
||||
if [ -f \$prefix/custom.cfg ]; then
|
||||
if [ -f \${config_directory}/custom.cfg ]; then
|
||||
source \${config_directory}/custom.cfg
|
||||
elif [ -z "\${config_directory}" -a -f \$prefix/custom.cfg ]; then
|
||||
source \$prefix/custom.cfg;
|
||||
fi
|
||||
EOF
|
||||
|
||||
Reference in new issue
Block a user