summaryrefslogtreecommitdiff
path: root/src/usr/bin/netmounts-off
blob: 1852a6cc8271202c49c2cfc8bd81cfb0095ca352 (plain)
1
2
3
#!/bin/sh
mounts="$( mount | awk '$5~/nfs/{print $3}' )"
for word in ${mounts} ; do umount -lv "${word}" ; done
bgstack15