From f6221172e7e515ef450a5fbad4c5f8f3583cfc28 Mon Sep 17 00:00:00 2001 From: Root Date: Wed, 28 Feb 2007 16:59:31 +0000 Subject: Upstart related handling of inittab ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@737 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/distro-specs/ubuntu/functions-default | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'initramfs/distro-specs/ubuntu/functions-default') diff --git a/initramfs/distro-specs/ubuntu/functions-default b/initramfs/distro-specs/ubuntu/functions-default index 4badbcf7..07c20101 100644 --- a/initramfs/distro-specs/ubuntu/functions-default +++ b/initramfs/distro-specs/ubuntu/functions-default @@ -1,15 +1,16 @@ -# configuration script for general Ubuntu to configure OpenSLX linux -# diskless clients (executed within initial ramdisk after genconfig) +# Copyright (c) 2003 - 2006 - RZ Uni Freiburg +# Copyright (c) 2006, 2007 - OpenSLX GmbH +# +# This program/file is free software distributed under the GPL version 2. +# See http://openslx.org/COPYING # -# this file is distributed under the GPLv2, see ~/openslx/COPYING +# If you have any feedback please consult http://openslx.org/feedback and +# send your feedback to feedback@openslx.org # -# Dirk von Suchodoletz , 22-12-2006 -# Nico Dietrich -# Felix Endres -# mj0, 12-12-2006 +# General information about OpenSLX can be found under http://openslx.org # -# (c) 2006 - RZ Universitaet Freiburg -# (c) 2006 - OpenSLX GmbH +# configuration script for general Ubuntu to configure OpenSLX linux +# diskless clients (executed within initial ramdisk after genconfig) # empty functions are defined at the beginning of /etc/functions @@ -52,13 +53,12 @@ config_distro () { # add the halt link to the 0 and 6 runlevel directories ln -sf ../init.d/halt /mnt/etc/rc0.d/S90halt ln -sf ../init.d/reboot /mnt/etc/rc6.d/S90reboot - # set default runlevel sed -e "s/.*initdefault/id:${D_INITDEFAULT}:initdefault/" -i /mnt/etc/inittab - # needed lateron (by hwsetup?) + # needed lateron (by hwsetup? - fixme, check if already copied by + # mkdxsinitrd!! If busybox is installed use tool directly ...) /mnt/bin/mknod /dev/zero c 1 5 /mnt/bin/mknod /dev/mem c 1 1 - } # AUS SuSE-9.3 -- cgit v1.2.3-55-g7522