diff options
Diffstat (limited to 'src/usr/bin/netmounts-off')
-rwxr-xr-x | src/usr/bin/netmounts-off | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/bin/netmounts-off b/src/usr/bin/netmounts-off new file mode 100755 index 0000000..1852a6c --- /dev/null +++ b/src/usr/bin/netmounts-off @@ -0,0 +1,3 @@ +#!/bin/sh +mounts="$( mount | awk '$5~/nfs/{print $3}' )" +for word in ${mounts} ; do umount -lv "${word}" ; done |