projects
/
grml-live-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add grml-live script
[grml-live-grml.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
+++ b/
etc/grml/fai/config/scripts/GRML/15-initsetup
@@ -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