From 67853178ea148fb146b417b335252258233c9e10 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 14 Aug 2012 20:50:43 +0200 Subject: [PATCH] Reading configuration file from filesystem and live-media at runtime too. --- scripts/boot.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) 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}" ]