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:30:00 +02:00
parent 79fa7b8135
commit 5d0af8c898

View File

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