summaryrefslogtreecommitdiff
path: root/cifs-utils/cifs
blob: b7c187b84bd8952eb24185e92dd4c44504b034e3 (plain)
    1 #!/bin/sh
    2 #
    3 # /etc/rc.d/cifs: mount/umount cifs filesystems
    4 #
    5 
    6 case $1 in
    7 start)
    8         /bin/mount -a -t cifs
    9         ;;
   10 stop)
   11         /bin/umount -a -t cifs 
   12         ;;
   13 restart)
   14         $0 stop
   15         sleep 2
   16         $0 start
   17         ;;
   18 *)
   19         echo "usage: $0 [start|stop|restart]"
   20         ;;
   21 esac
   22 
   23 # End of file

Generated by cgit