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 0059f9cf..b0712f8d 100755
--- a/initramfs/initrd-stuff/init
+++ b/initramfs/initrd-stuff/init
@@ -631,7 +631,7 @@ for ticks in 0 200 300 500 800 1000 1200 2000 5000 ; do
error "$init_wait" nonfatal
done
-[ $i -gt 1000 ] && error "$init_errumnt"
+[ $ticks -gt 1000 ] && error "$init_errumnt"
# check for inittab file (might fail for new style init -> upstart)
test -f /mnt/etc/inittab || test -d /mnt/etc/event.d || error "$init_erritab"
# close runlevel script for stuff to execute during early bootup