mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
* modifications of firstrun scripts * Further making use of systemd statements to order firstboot scripts * allow systemd ordering of ssh to avoid restarting in firstrun script * suggested changes, add wants=first-boot-complete * Remove SSH keys in debootstrap process Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
20 lines
522 B
Desktop File
20 lines
522 B
Desktop File
# Armbian firstrun service
|
|
# Regenerates the SSH keys and performs additional first run tweaks
|
|
# This service will run in parallel with other services
|
|
|
|
[Unit]
|
|
Description=Armbian first run tasks
|
|
Wants=first-boot-complete.target
|
|
Before=getty.target system-getty.slice first-boot-complete.target ssh.service
|
|
After=armbian-resize-filesystem.service
|
|
ConditionFirstBoot=yes
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=/usr/lib/armbian/armbian-firstrun start
|
|
TimeoutStartSec=2min
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|