From: Daniel Lezcano Date: Thu, 13 Jan 2011 15:25:14 +0000 (+0100) Subject: fix busybox inittab template X-Git-Tag: lxc-0.7.4-rc1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0016af974df9f47a3f15a9b57e4d223451d0547c;p=thirdparty%2Flxc.git fix busybox inittab template The inittab file format is wrong regarding how behaves busybox with this syntax. Signed-off-by: Daniel Lezcano --- diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in index cdd14b5c7..62088df75 100644 --- a/templates/lxc-busybox.in +++ b/templates/lxc-busybox.in @@ -100,8 +100,8 @@ EOF # not needed cat <> $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