From: Michael Prokop Date: Thu, 4 Mar 2010 09:55:56 +0000 (+0100) Subject: Add support for /boot/isolinux/submenu*.cfg files. X-Git-Tag: v0.9.39~5 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=4165c525f99c0b0705c41d3fb48c72459d0aa6e5 Add support for /boot/isolinux/submenu*.cfg files. --- diff --git a/grml-live b/grml-live index 316e810..9894e95 100755 --- a/grml-live +++ b/grml-live @@ -794,6 +794,11 @@ if [ "$ARCH" = i386 ] || [ "$ARCH" = amd64 ] ; then echo "include default.cfg" > "${BUILD_OUTPUT}/boot/isolinux/grmlmain.cfg" echo "include menuoptions.cfg" >> "${BUILD_OUTPUT}/boot/isolinux/grmlmain.cfg" echo "include grml.cfg" >> "${BUILD_OUTPUT}/boot/isolinux/grmlmain.cfg" + + for f in "${BUILD_OUTPUT}"/boot/isolinux/submenu*.cfg ; do + echo "include $(basename $f)" >> "${BUILD_OUTPUT}/boot/isolinux/grmlmain.cfg" + done + echo "include options.cfg" >> "${BUILD_OUTPUT}/boot/isolinux/grmlmain.cfg" if [ ! -n "$NO_ADDONS" ] ; then echo "include addons.cfg" >> "${BUILD_OUTPUT}/boot/isolinux/grmlmain.cfg"