Drop Latest change lines, add initial support for Debian/squeeze
[grml-live.git] / etc / grml / fai / config / scripts / GRMLBASE / 15-initsetup
1 #!/bin/sh
2 # Filename:      /etc/grml/fai/config/scripts/GRMLBASE/15-initsetup
3 # Purpose:       configure init system for the live-system
4 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports:   see http://grml.org/bugs/
6 # License:       This file is licensed under the GPL v2 or any later version.
7 ################################################################################
8
9 set -u
10 set -e
11
12 # if we have a small ISO let's adjust runlevel.conf:
13 if [ -n "$GRML_NAME" ] ; then
14    if echo "$GRML_NAME" | grep -q small ; then
15       cp $target/etc/runlevel.conf.livecd.small $target/etc/runlevel.conf
16    else
17       cp $target/etc/runlevel.conf.livecd $target/etc/runlevel.conf
18    fi
19 fi
20
21 ## END OF FILE #################################################################
22 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3