diff options
Diffstat (limited to '')
-rw-r--r-- | util/grub.d/41_custom.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/util/grub.d/41_custom.in b/util/grub.d/41_custom.in new file mode 100644 index 0000000..a08363d --- /dev/null +++ b/util/grub.d/41_custom.in @@ -0,0 +1,9 @@ +#!/bin/sh +cat <<EOF +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 + |