From: Daniel Baumann Date: Tue, 14 Aug 2012 18:50:43 +0000 (+0200) Subject: Reading configuration file from filesystem and live-media at runtime too. X-Git-Tag: debian/3.0_b1-1~6 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;ds=sidebyside;h=67853178ea148fb146b417b335252258233c9e10;p=live-boot-grml.git Reading configuration file from filesystem and live-media at runtime too. --- diff --git a/scripts/boot.sh b/scripts/boot.sh index c031f00..11e8094 100755 --- a/scripts/boot.sh +++ b/scripts/boot.sh @@ -2,6 +2,16 @@ # set -e +# Reading configuration file from filesystem and live-media +for _FILE in /etc/live/boot.conf /etc/live/boot/* \ + /live/image/live/boot.conf /live/image/live/boot/* +do + if [ -e "${_FILE}" ] + then + . "${_FILE}" + fi +done + for _SCRIPT in /lib/live/boot/????-* do if [ -e "${_SCRIPT}" ]