1
0
Fork 0
mirror of https://github.com/pygos/init-scripts.git synced 2024-12-22 16:40:49 +01:00
init-scripts/services/unmount
David Oberhollenzer 418ca4bc72 Propperly unmount the overlay partition on shutdown
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-09-18 13:07:09 +02:00

9 lines
152 B
Text

description unmount overlay filesystem
type wait
target %0
after sigkill
before sync
exec {
umount -nli /var/lib /usr /etc
umount -nli /cfg/overlay
}