From aadceacdbcb1c381247e6d3dbd465ac929d46e68 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sun, 13 Sep 2020 21:33:30 +0300 Subject: init: add unmount hooks --- rc.shutdown | 1 + 1 file changed, 1 insertion(+) diff --git a/rc.shutdown b/rc.shutdown index 4a0bee3..f159174 100755 --- a/rc.shutdown +++ b/rc.shutdown @@ -33,6 +33,7 @@ out "Unmounting filesystems and disabling swap..."; { sync swapoff -a umount -rat nosysfs,noproc,nodevtmpfs,notmpfs + run_hook umount } 2>&1 | log out "Remounting rootfs as readonly..."; { -- cgit v1.2.3