diff options
Diffstat (limited to 'frontend/live-boot')
-rwxr-xr-x | frontend/live-boot | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/frontend/live-boot b/frontend/live-boot new file mode 100755 index 0000000..67585f9 --- /dev/null +++ b/frontend/live-boot @@ -0,0 +1,20 @@ +#!/bin/sh + +# set -e + +# Reading configuration file from filesystem and live-media +for _FILE in /etc/live/boot.conf /etc/live/boot/* +do + if [ -e "${_FILE}" ] + then + . "${_FILE}" + fi +done + +for _SCRIPT in /lib/live/boot/????-* +do + if [ -e "${_SCRIPT}" ] + then + . ${_SCRIPT} + fi +done |