resizerootfs: don’t touch user-modified table, disable on first boot (Thanks mrvnr)

fixes #3
This commit is contained in:
Michael Stapelberg
2018-01-04 09:02:47 +01:00
parent 28566d7f29
commit 96fc719bef
2 changed files with 31 additions and 0 deletions

View File

@ -6,6 +6,7 @@ DefaultDependencies=no
[Service]
Type=oneshot
ExecStart=/usr/bin/rpi3-resizerootfs
ExecStart=/bin/systemctl --no-reload disable %n
[Install]
RequiredBy=systemd-remount-fs.service