From 4165c525f99c0b0705c41d3fb48c72459d0aa6e5 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 4 Mar 2010 10:55:56 +0100 Subject: [PATCH] Add support for /boot/isolinux/submenu*.cfg files. --- grml-live | 5 +++++ 1 file changed, 5 insertions(+) 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" -- 2.1.4