diff options
Diffstat (limited to 'packages/altboot/files/altboot.func')
-rw-r--r-- | packages/altboot/files/altboot.func | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/altboot/files/altboot.func b/packages/altboot/files/altboot.func index 7afb3727f9..91984a89ee 100644 --- a/packages/altboot/files/altboot.func +++ b/packages/altboot/files/altboot.func @@ -78,14 +78,14 @@ pivot_realfs() { cd / - # Boot init.sysvinit if it is available or use /sbin/init instead - if test -x $REAL_INIT + # Boot /sbin/init if it is available or use /sbin/init.sysvinit instead + if test -x $/sbin/init then - echo "Calling INIT [$REAL_INIT $RL]" - exec /usr/sbin/chroot . $REAL_INIT $RL >/dev/tty0 2>&1 - else - echo "Calling INIT [/sbin/init $RL]" + echo "Calling INIT [/sbin/init $RL]" exec /usr/sbin/chroot . /sbin/init $RL >/dev/tty0 2>&1 + else + echo "Calling INIT [$REAL_INIT $RL]" + exec /usr/sbin/chroot . $REAL_INIT $RL >/dev/tty0 2>&1 fi else echo "FAILED" |