mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 19:06:34 +00:00
15 lines
360 B
SYSTEMD
15 lines
360 B
SYSTEMD
|
|
[Unit]
|
||
|
|
Description=Expand BF_DATA partition to fill SD card
|
||
|
|
DefaultDependencies=no
|
||
|
|
After=local-fs.target
|
||
|
|
Before=betterframe-kiosk.service betterframe-firstboot.service
|
||
|
|
ConditionPathExists=!/var/lib/betterframe/.data-expanded
|
||
|
|
|
||
|
|
[Service]
|
||
|
|
Type=oneshot
|
||
|
|
ExecStart=/usr/local/sbin/betterframe-expand-data.sh
|
||
|
|
RemainAfterExit=yes
|
||
|
|
|
||
|
|
[Install]
|
||
|
|
WantedBy=multi-user.target
|