From 418ca4bc726b106698d2c5e4045fcc6de089101e Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 11 Aug 2019 13:24:28 +0200 Subject: Propperly unmount the overlay partition on shutdown Signed-off-by: David Oberhollenzer --- services/unmount | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 services/unmount (limited to 'services/unmount') diff --git a/services/unmount b/services/unmount new file mode 100644 index 0000000..6574c8d --- /dev/null +++ b/services/unmount @@ -0,0 +1,9 @@ +description unmount overlay filesystem +type wait +target %0 +after sigkill +before sync +exec { + umount -nli /var/lib /usr /etc + umount -nli /cfg/overlay +} -- cgit v1.2.3