armbian_build/packages/bsp/common/lib/systemd/system/armbian-firstrun-config.service
Igor Pecovnik 94dbd83c62 Make sure that firstlogin service starts last
This way we avoid that other services messes up our nice and shiny 1st login
2021-01-26 09:12:59 +01:00

19 lines
478 B
Desktop File

# Armbian firstrun configuration service
# This service will run in parallel with other services
[Unit]
Description=Armbian first run optional user configuration
Wants=network-online.target
After=network.target network-online.target
ConditionPathExists=/boot/armbian_first_run.txt
ConditionPathExists=/root/.not_logged_in_yet
[Service]
Type=idle
RemainAfterExit=yes
ExecStart=/usr/lib/armbian/armbian-firstrun-config
TimeoutStartSec=2min
[Install]
WantedBy=multi-user.target