3
# Copyright (c) Timo Knuutila <knuutila@cs.utu.fi> 1996.
5
# This file should have uid root, gid sys and chmod 744
8
then # /usr not mounted
12
killproc() { # kill the named process(es)
15
/usr/bin/sed -e 's/^ *//' -e 's/ .*//'`
16
[ "$pid" != "" ] && kill $pid
19
# Start/stop processes required for samba server
25
# Edit these lines to suit your installation (paths, workgroup, host)
27
/opt/samba/bin/smbd -D -s/opt/samba/smb.conf
28
/opt/samba/bin/nmbd -D -l/opt/samba/log -s/opt/samba/smb.conf
35
echo "Usage: /etc/init.d/samba.server { start | stop }"