Exposing rofs and persistence mounts under /live in the live systems, not just initra...
[debian-live-boot/hramrach.git] / scripts / boot.sh
blob11e8094cbebfff097abefa4dccf8ee8057797620
1 #!/bin/sh
3 # set -e
5 # Reading configuration file from filesystem and live-media
6 for _FILE in /etc/live/boot.conf /etc/live/boot/* \
7 /live/image/live/boot.conf /live/image/live/boot/*
8 do
9 if [ -e "${_FILE}" ]
10 then
11 . "${_FILE}"
13 done
15 for _SCRIPT in /lib/live/boot/????-*
17 if [ -e "${_SCRIPT}" ]
18 then
19 . ${_SCRIPT}
21 done