diff options
author | Dirk von Suchodoletz | 2010-03-08 18:37:28 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2010-03-08 18:37:28 +0100 |
commit | 0b962e49ed136db0bbc147447965eb6e57580358 (patch) | |
tree | de0b11c024e158366c5e92c6ed5721847c74f3fc /initramfs/distro-specs/scilin/functions-default | |
parent | Checking for inittab or event.d does not make much sense any more in (diff) | |
download | core-0b962e49ed136db0bbc147447965eb6e57580358.tar.gz core-0b962e49ed136db0bbc147447965eb6e57580358.tar.xz core-0b962e49ed136db0bbc147447965eb6e57580358.zip |
Moving test for inittab/event.d into distro specific functions (removed
from slx init).
Diffstat (limited to 'initramfs/distro-specs/scilin/functions-default')
-rw-r--r-- | initramfs/distro-specs/scilin/functions-default | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/initramfs/distro-specs/scilin/functions-default b/initramfs/distro-specs/scilin/functions-default index e474b1b7..f9bb0f0e 100644 --- a/initramfs/distro-specs/scilin/functions-default +++ b/initramfs/distro-specs/scilin/functions-default @@ -1,5 +1,5 @@ # Copyright (c) 2003..2006 - RZ Uni Freiburg -# Copyright (c) 2006..2009 - OpenSLX GmbH +# Copyright (c) 2006..2010 - OpenSLX GmbH # # This program/file is free software distributed under the GPL version 2. # See http://openslx.org/COPYING @@ -49,6 +49,8 @@ config_distro () { [ -e /mnt/etc/sysconfig/network ] && \ sed -e "s/HOSTNAME=.*/HOSTNAME=$host_name/" \ -e "s/GATEWAY=.*/GATEWAY=$gateway/" -i /mnt/etc/sysconfig/network + # check for inittab file + #test -f /mnt/etc/inittab || error "$df_erritab" } # initial (boot time) runlevel scripts |