X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRML%2F15-initsetup;h=2d18f6415a9dfdf66bb25350eb1900ddf664c129;hb=848aacd341724969418da66ab72948a3d0bb42f2;hp=bdd5dbd8aec0e42d28a1311c8506fe46990f9bf0;hpb=cfd32a33aab0d28608bba9e34c65b2a1967be9b7;p=grml-live.git diff --git a/etc/grml/fai/config/scripts/GRML/15-initsetup b/etc/grml/fai/config/scripts/GRML/15-initsetup index bdd5dbd..2d18f64 100755 --- a/etc/grml/fai/config/scripts/GRML/15-initsetup +++ b/etc/grml/fai/config/scripts/GRML/15-initsetup @@ -1,9 +1,20 @@ #!/bin/sh +# Filename: /etc/grml/fai/config/scripts/GRML/15-initsetup +# Purpose: configure init system for the live-system +# Authors: grml-team (grml.org), (c) Michael Prokop +# Bug-Reports: see http://grml.org/bugs/ +# License: This file is licensed under the GPL v2 or any later version. +# Latest change: Sun Sep 16 22:57:36 CEST 2007 [mika] +################################################################################ + set -u set -e -if grep -q "small" "$target"/etc/grml_version ; then - cp "$target"/etc/runlevel.conf.livecd.small "$target"/etc/runlevel.conf +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 + cp $target/etc/runlevel.conf.livecd $target/etc/runlevel.conf fi + +## END OF FILE ################################################################# +# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3