3 # umountnfs.sh Unmount all network filesystems.
6 PATH=/sbin:/bin:/usr/sbin:/usr/bin
8 # Write a reboot record to /var/log/wtmp before unmounting
11 echo "Unmounting remote filesystems..."
13 test -f /etc/fstab && (
16 # Read through fstab line by line and unount network file systems
18 while read device mountpt fstype options
20 if test "$fstype" = nfs || test "$fstype" = smbfs || test "$fstype" = ncpfs