diff options
| author | Cem Keylan <cem@ckyln.com> | 2020-09-13 21:33:30 +0300 |
|---|---|---|
| committer | Cem Keylan <cem@ckyln.com> | 2020-09-13 21:33:30 +0300 |
| commit | aadceacdbcb1c381247e6d3dbd465ac929d46e68 (patch) | |
| tree | 7edd0b110a4c207df9c11b9b8518308628abf814 | |
| parent | 263ba8f1f634fecdb72ab5665ab7fd7849826d27 (diff) | |
| download | init-aadceacdbcb1c381247e6d3dbd465ac929d46e68.tar.gz | |
init: add unmount hooks
| -rwxr-xr-x | rc.shutdown | 1 |
1 files changed, 1 insertions, 0 deletions
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..."; { |
