Skip to content

Commit

Permalink
Reading configuration file from filesystem and live-media at runtime …
Browse files Browse the repository at this point in the history
…too.
  • Loading branch information
daniel-baumann committed Aug 14, 2012
1 parent cdece4c commit 6785317
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/boot.sh
Expand Up @@ -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}" ]
Expand Down

0 comments on commit 6785317

Please sign in to comment.