mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-19 16:42:45 +07:00
Bump to next branch
Host: Ubuntu 21.04
This commit is contained in:
8
external/packages/bsp/common/lib/systemd/system/orangepi-disable-autologin.service
vendored
Executable file
8
external/packages/bsp/common/lib/systemd/system/orangepi-disable-autologin.service
vendored
Executable file
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Disable automated desktop login
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=rm -f /etc/lightdm/lightdm.conf.d/22-orangepi-autologin.conf
|
||||
TimeoutStopSec= 10
|
||||
ExecStop=systemctl disable orangepi-disable-autologin.timer
|
||||
8
external/packages/bsp/common/lib/systemd/system/orangepi-disable-autologin.timer
vendored
Executable file
8
external/packages/bsp/common/lib/systemd/system/orangepi-disable-autologin.timer
vendored
Executable file
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Disable automated desktop login
|
||||
|
||||
[Timer]
|
||||
OnActiveSec=2min
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
@@ -9,7 +9,7 @@ ConditionPathExists=/boot/orangepi_first_run.txt
|
||||
ConditionPathExists=/root/.not_logged_in_yet
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
Type=idle
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/lib/orangepi/orangepi-firstrun-config
|
||||
TimeoutStartSec=2min
|
||||
|
||||
Reference in New Issue
Block a user