custom.cfg support.

* conf/common.rmk (grub-mkconfig_SCRIPTS): Add 41_custom.
	* util/grub.d/41_custom.in: New file.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-06-12 13:20:21 +02:00
parent ee62c427e5
commit 57711df6ad
3 changed files with 15 additions and 1 deletions

7
util/grub.d/41_custom.in Normal file
View file

@ -0,0 +1,7 @@
#!/bin/sh
cat <<EOF
if [ -f \$prefix/custom.cfg ]; then
source \$prefix/custom.cfg;
fi
EOF