diff options
author | Cem Keylan <cem@ckyln.com> | 2020-08-13 10:21:10 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-08-13 10:21:10 +0300 |
commit | 95c655caffe9bd2c1cc2e99dda79cfeac4455fad (patch) | |
tree | a1f512f750d4567971c8e7b7016068bd54b1ea48 /rc.shutdown | |
parent | 4dfeb5c8d100ffaa600fed52fc3b80efc02e4bba (diff) | |
download | init-95c655caffe9bd2c1cc2e99dda79cfeac4455fad.tar.gz |
rc.shutdown: sync before unmounting file systems
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-x | rc.shutdown | 1 |
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 |