3 # $FreeBSD: src/share/examples/nwclient/nwfs.sh.sample,v 1.1 1999/11/03 12:06:13 bp Exp $
4 # $DragonFly: src/share/examples/nwclient/nwfs.sh.sample,v 1.2 2003/06/17 04:36:57 dillon Exp $
6 # Location: /usr/local/etc/rc.d/nwfs.sh
8 # Simple script to mount NetWare volumes at startup.
9 # It assumes that all mount points described in fstab file and password
10 # entries listed in /root/.nwfsrc file. See mount_nwfs(8) for details.
15 HOME
=/root
; export HOME
16 vols
="/nw/sys /nw/vol1"
18 if [ "x$1" = "x" -o "x$1" = "xstart" ]; then
19 echo -n "Mounting NetWare volumes: "
20 for vol
in ${vols}; do
25 elif [ "x$1" = "xstop" ]; then
26 echo -n "Unmounting NetWare mount points: "
27 for vol
in ${vols}; do
33 echo "Unknown command $1"