]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
fix busybox inittab template
authorDaniel Lezcano <daniel.lezcano@free.fr>
Thu, 13 Jan 2011 15:25:14 +0000 (16:25 +0100)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Thu, 13 Jan 2011 15:25:14 +0000 (16:25 +0100)
The inittab file format is wrong regarding how behaves busybox with
this syntax.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
templates/lxc-busybox.in

index cdd14b5c74d5c59a347974308adc315a5b65d696..62088df75f31127568dc3dc348f780ac0ae3f855 100644 (file)
@@ -100,8 +100,8 @@ EOF
     # not needed
     cat <<EOF >> $rootfs/etc/inittab
 ::sysinit:/etc/init.d/rcS
-::respawn:/bin/getty -L tty1 115200 vt100
-::askfirst:/bin/sh
+tty1::respawn:/bin/getty -L tty1 115200 vt100
+console::askfirst:/bin/sh
 EOF
     # writable and readable for other
     chmod 644 $rootfs/etc/inittab || return 1