summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/init
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs/initrd-stuff/init')
-rwxr-xr-xinitramfs/initrd-stuff/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init
index 2d965bec..5b7a3f4b 100755
--- a/initramfs/initrd-stuff/init
+++ b/initramfs/initrd-stuff/init
@@ -632,7 +632,7 @@ done
[ $i -gt 1000 ] && error "$init_errumnt"
# check for inittab file (might fail for new style init -> upstart)
-test -f /mnt/etc/inittab || error "$init_erritab"
+test -f /mnt/etc/inittab || test -d /mnt/etc/event.d || error "$init_erritab"
# close runlevel script for stuff to execute during early bootup
d_mkrlscript close boot.ld ""
# put /tmp into stage4 mtab and add stuff to stage4 fstab