summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-07-12 16:03:53 +0000
committerGerald Carter <jerry@samba.org>2005-07-12 16:03:53 +0000
commitd584d3db78d1a740feade29cf873064bf2e3359e (patch)
tree2dc7eb9652c38407d4a7c570e77de57fdc1cbea0 /examples
parentf6d125d95d8194ef46265b4f241189d893aa69dd (diff)
downloadsamba-d584d3db78d1a740feade29cf873064bf2e3359e.tar.gz
samba-d584d3db78d1a740feade29cf873064bf2e3359e.tar.xz
samba-d584d3db78d1a740feade29cf873064bf2e3359e.zip
r8381: moving sysv init script to packaging
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/svr4-startup/samba.server38
1 files changed, 0 insertions, 38 deletions
diff --git a/examples/svr4-startup/samba.server b/examples/svr4-startup/samba.server
deleted file mode 100755
index 0a47fdb10ce..00000000000
--- a/examples/svr4-startup/samba.server
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/sh
-#ident "@(#)samba.server 1.0 96/06/19 TK" /* SVr4.0 1.1.13.1*/
-#
-# Please send info on modifications to knuutila@cs.utu.fi
-#
-# This file should have uid root, gid sys and chmod 744
-#
-if [ ! -d /usr/bin ]
-then # /usr not mounted
- exit
-fi
-
-killproc() { # kill the named process(es)
- pid=`/usr/bin/ps -e |
- /usr/bin/grep -w $1 |
- /usr/bin/sed -e 's/^ *//' -e 's/ .*//'`
- [ "$pid" != "" ] && kill $pid
-}
-
-# Start/stop processes required for samba server
-
-case "$1" in
-
-'start')
-#
-# Edit these lines to suit your installation (paths, workgroup, host)
-#
- /opt/samba/bin/smbd -D -s/opt/samba/smb.conf
- /opt/samba/bin/nmbd -D -l/opt/samba/log -s/opt/samba/smb.conf
- ;;
-'stop')
- killproc nmbd
- killproc smbd
- ;;
-*)
- echo "Usage: /etc/init.d/samba.server { start | stop }"
- ;;
-esac