Activate grml-testing repository for devel/daily builds
[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 # Latest change: Sun Sep 28 20:08:14 CEST 2008 [mika]
8 ################################################################################
9
10 set -u
11 set -e
12
13 # if we have a small ISO let's adjust runlevel.conf:
14 if [ -n "$GRML_NAME" ] ; then
15    if echo "$GRML_NAME" | grep -q small ; then
16       cp $target/etc/runlevel.conf.livecd.small $target/etc/runlevel.conf
17    else
18       cp $target/etc/runlevel.conf.livecd $target/etc/runlevel.conf
19    fi
20 fi
21
22 ## END OF FILE #################################################################
23 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3