1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2024-12-17 03:18:43 +01:00
OpenVoiceOS/buildroot-external/package/firstboot-service/firstboot.service
Peter Steenbergen 091f5720e6 MycroftOS: Firstboot systemd system
- System to run sccripts at the very first boot. Now currently used
  only for resizing the partion using the full SD size.
- Can be expanded to run other scripts to prepare stuff at the
  very first boot.
2019-09-27 09:12:17 +02:00

17 lines
322 B
Desktop File

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