summaryrefslogtreecommitdiffstats
path: root/initramfs/distro-specs/ubuntu/functions-default
diff options
context:
space:
mode:
authorDirk von Suchodoletz2010-03-08 18:37:28 +0100
committerDirk von Suchodoletz2010-03-08 18:37:28 +0100
commit0b962e49ed136db0bbc147447965eb6e57580358 (patch)
treede0b11c024e158366c5e92c6ed5721847c74f3fc /initramfs/distro-specs/ubuntu/functions-default
parentChecking for inittab or event.d does not make much sense any more in (diff)
downloadcore-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/ubuntu/functions-default')
-rw-r--r--initramfs/distro-specs/ubuntu/functions-default4
1 files changed, 4 insertions, 0 deletions
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