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/debian | |
| 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/debian')
| -rw-r--r-- | initramfs/distro-specs/debian/functions-default | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/initramfs/distro-specs/debian/functions-default b/initramfs/distro-specs/debian/functions-default index e039bcff..15639a2d 100644 --- a/initramfs/distro-specs/debian/functions-default +++ b/initramfs/distro-specs/debian/functions-default @@ -1,5 +1,5 @@ # Copyright (c) 2003..2006 - RZ Uni Freiburg -# Copyright (c) 2007..2008 - OpenSLX GmbH +# Copyright (c) 2007..2010 - OpenSLX GmbH # # This program is free software distributed under the GPL version 2. # See http://openslx.org/COPYING @@ -60,6 +60,9 @@ config_distro () { # add the slx specific path (/var/opt/openslx/bin) to the PATH variable echo -e "# stuff generated by $0 (out of InitRamFS written $date)\n\ export PATH=\"\$PATH:/var/opt/openslx/bin\"" >>/mnt/etc/profile + + # check for inittab file + #test -f /mnt/etc/inittab || error "$df_erritab" } # initial (boot time) runlevel scripts |
