1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-12-26 18:58:20 +01:00

use sysvinit

This commit is contained in:
DanyLE 2023-08-01 22:41:13 +02:00
parent 5d0af8c898
commit e27a7ba7d7

View File

@ -32,6 +32,6 @@ cat << 'EOF' >> "${IMAGE_ROOTFS}/etc/hostname"
diyaid
EOF
# enable autologin
sed -i 's~1:12345:respawn:/sbin/getty root 38400 tty1~1:12345:respawn:/sbin/getty -a root -L tty1 38400 vt100~' \
sed -i 's#~~:S:wait:/sbin/sulogin#~~:S:wait:/bin/sh#' \
"${IMAGE_ROOTFS}/etc/inittab"
}