OpenVoiceOS/buildroot-external/package/firstboot-service/firstboot.service

17 lines
335 B
SYSTEMD

[Unit]
Description=First Boot run script
DefaultDependencies=no
Conflicts=shutdown.target
After=systemd-remount-fs.service
Before=sysinit.target shutdown.target
ConditionPathIsReadWrite=/etc
ConditionPathExists=/etc/firstboot
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/sbin/firstboot
[Install]
WantedBy=sysinit.target