Reorganizing frontend in source tree.
[live-boot-grml.git] / frontend / live-boot
diff --git a/frontend/live-boot b/frontend/live-boot
new file mode 100755 (executable)
index 0000000..67585f9
--- /dev/null
@@ -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