From 95c655caffe9bd2c1cc2e99dda79cfeac4455fad Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Thu, 13 Aug 2020 10:21:10 +0300 Subject: rc.shutdown: sync before unmounting file systems --- rc.shutdown | 1 + 1 file changed, 1 insertion(+) diff --git a/rc.shutdown b/rc.shutdown index daa346d..4a0bee3 100755 --- a/rc.shutdown +++ b/rc.shutdown @@ -30,6 +30,7 @@ out "Sending KILL signal to all processes..."; { } out "Unmounting filesystems and disabling swap..."; { + sync swapoff -a umount -rat nosysfs,noproc,nodevtmpfs,notmpfs } 2>&1 | log -- cgit v1.2.3