2 #ident "@(#)samba.server 1.0 96/06/19 TK" /* SVr4.0 1.1.13.1*/
4 # Please send info on modifications to knuutila@cs.utu.fi
6 # This file should have uid root, gid sys and chmod 744
9 then # /usr not mounted
13 killproc
() { # kill the named process(es)
16 /usr/bin/sed -e 's/^ *//' -e 's/ .*//'`
17 [ "$pid" != "" ] && kill $pid
20 # Start/stop processes required for samba server
26 # Edit these lines to suit your installation (paths, workgroup, host)
28 BASE
=__BASEDIR__
/samba
29 $BASE/bin
/smbd
-D -s$BASE/lib
/smb.conf
30 $BASE/bin
/nmbd
-D -s$BASE/lib
/smb.conf
41 $BASE/bin
/smbd
-D -s$BASE/lib
/smb.conf
42 $BASE/bin
/nmbd
-D -l$BASE/var
/log
-s$BASE/lib
/smb.conf
46 echo "Usage: /etc/init.d/samba.server { start | stop | restart }"