Add grml-live script
[grml-live.git] / etc / grml / fai / config / scripts / GRML / 15-initsetup
diff --git a/etc/grml/fai/config/scripts/GRML/15-initsetup b/etc/grml/fai/config/scripts/GRML/15-initsetup
new file mode 100755 (executable)
index 0000000..bdd5dbd
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -u
+set -e
+
+if grep -q "small" "$target"/etc/grml_version ; then
+   cp "$target"/etc/runlevel.conf.livecd.small "$target"/etc/runlevel.conf
+else
+   cp "$target"/etc/runlevel.conf.livecd "$target"/etc/runlevel.conf
+fi