1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-06-05 22:19:21 +02:00

Re-Initiate the firstboot system utilizing a different approach

ovos-config as tool, starting of with expiring the default passwd
This commit is contained in:
j1nx
2021-04-02 12:22:46 +02:00
parent 690de2d0fc
commit 8766df6b2b
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,16 @@
[Unit]
Description=OVOS 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/ovos-config
[Install]
WantedBy=sysinit.target