1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2025-07-31 05:00:42 +02:00

use sysvinit

This commit is contained in:
DanyLE
2023-08-01 19:34:18 +02:00
parent 734bb8d960
commit de319e1292
2 changed files with 9 additions and 2 deletions

View File

@ -32,6 +32,6 @@ cat << 'EOF' >> "${IMAGE_ROOTFS}/etc/hostname"
diyaid
EOF
# enable autologin
sed -i 's/options="/&--autologin root /' \
"${IMAGE_ROOTFS}${base_bindir}/start_getty"
sed -i 's/getty/getty --autologin root/g' \
"${IMAGE_ROOTFS}/etc/inittab"
}