From 0b962e49ed136db0bbc147447965eb6e57580358 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Mon, 8 Mar 2010 18:37:28 +0100 Subject: Moving test for inittab/event.d into distro specific functions (removed from slx init). --- initramfs/distro-specs/ubuntu/functions-default | 4 ++++ 1 file changed, 4 insertions(+) (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 cdcf06f4..5f6832b5 100644 --- a/initramfs/distro-specs/ubuntu/functions-default +++ b/initramfs/distro-specs/ubuntu/functions-default @@ -89,6 +89,10 @@ 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 (might fail for new style init -> upstart) + #test -f /mnt/etc/inittab || test -d /mnt/etc/event.d || \ + # error "$df_erritab" } # initial (boot time) runlevel scripts -- cgit v1.2.3-55-g7522