summary refs log tree commit diff
path: root/contrib/rvnit/01Kremount
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/rvnit/01Kremount')
-rwxr-xr-xcontrib/rvnit/01Kremount9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/rvnit/01Kremount b/contrib/rvnit/01Kremount
new file mode 100755
index 0000000..a2559f3
--- /dev/null
+++ b/contrib/rvnit/01Kremount
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -x
+
+fuser -v -m /  2>&1 |grep F
+sleep 1
+
+swapoff -a
+umount -r -a -t nosysfs,noproc,nodevtmpfs,notmpfs
+mount -o remount,ro /