rk3568_ubuntu_r60_v1.3.2/debian/ubuntu-build-service/buster-base-arm64/customization/hooks/22-lightdm-autologin.chroot

8 lines
275 B
Plaintext
Raw Normal View History

2023-11-03 14:12:44 +08:00
#!/bin/sh
# Enable lightdm autologin for linaro user
if [ -e /etc/lightdm/lightdm.conf ]; then
sed -i "s|^#autologin-user=.*|autologin-user=linaro|" /etc/lightdm/lightdm.conf
sed -i "s|^#autologin-user-timeout=.*|autologin-user-timeout=0|" /etc/lightdm/lightdm.conf
fi