diff --git a/packages/bsp/common/lib/systemd/system/armbian-disable-autologin.service b/packages/bsp/common/lib/systemd/system/armbian-disable-autologin.service index 8ebf144a4f..d2dc3ebedd 100644 --- a/packages/bsp/common/lib/systemd/system/armbian-disable-autologin.service +++ b/packages/bsp/common/lib/systemd/system/armbian-disable-autologin.service @@ -2,8 +2,8 @@ Description=Disable automated desktop login [Service] -Type=simple -ExecStart=rm -f /etc/lightdm/lightdm.conf.d/22-armbian-autologin.conf -ExecStartPost=rm -f /etc/sddm.conf.d/autologin.conf -TimeoutStopSec= 10 +Type=oneshot +ExecStart=-rm -f /etc/lightdm/lightdm.conf.d/22-armbian-autologin.conf +ExecStart=-rm -f /etc/sddm.conf.d/autologin.conf +TimeoutStopSec=10 ExecStop=systemctl disable armbian-disable-autologin.timer