mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-26 22:11:46 +00:00
fix busybox inittab template
The inittab file format is wrong regarding how behaves busybox with this syntax. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
This commit is contained in:
parent
013bd42848
commit
0016af974d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user