3 SMBD
=/usr
/local
/samba
/bin
/smbd
4 NMBD
=/usr
/local
/samba
/bin
/nmbd
6 if [ ! -d /usr
/bin
]; then
7 echo "The /usr file system is not mounted."
12 pid
=`/bin/ps ax | grep -w $1 | sed -e 's/^ *//' -e 's/ .*//'`
13 echo "Stopping $1 now."
14 [ "$pid" != "" ] && kill -15 $pid
19 # Start/stop processes required for samba server
34 echo "Usage: /sbin/init.d/samba.init [ start | stop ]"