3 # Source function library.
4 .
/etc
/rc.d
/init.d
/functions
6 # Source networking configuration.
7 .
/etc
/sysconfig
/network
9 # Check that networking is up.
10 [ ${NETWORKING} = "no" ] && exit 0
12 # See how we were called.
15 echo -n "Starting SMB services: "
19 touch /var
/lock
/subsys
/smb
22 echo -n "Shutting down SMB services: "
25 rm -f /var
/lock
/subsys
/smb
29 echo "Usage: smb {start|stop}"