mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2024-12-17 03:18:43 +01:00
091f5720e6
- 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.
17 lines
322 B
Desktop File
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
|