aboutsummaryrefslogtreecommitdiff
path: root/rc.shutdown
diff options
context:
space:
mode:
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-xrc.shutdown1
1 files changed, 1 insertions, 0 deletions
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