summaryrefslogtreecommitdiffstats
path: root/examples/svr4-startup/samba.server
diff options
context:
space:
mode:
authorcvs2svn Import User <samba-bugs@samba.org>1997-07-01 01:19:14 +0000
committercvs2svn Import User <samba-bugs@samba.org>1997-07-01 01:19:14 +0000
commitad00237aafd5f68c89df5da4bae7f98b95741200 (patch)
treec163ab405805300cac2da0c6d20f72e45253d6e1 /examples/svr4-startup/samba.server
parent1c6e433caa22813a699c9766847886eb59755f8b (diff)
downloadsamba-ad00237aafd5f68c89df5da4bae7f98b95741200.tar.gz
samba-ad00237aafd5f68c89df5da4bae7f98b95741200.tar.xz
samba-ad00237aafd5f68c89df5da4bae7f98b95741200.zip
This commit was manufactured by cvs2svn to create tagsamba-misc-tags/pre_luke_stuffup_1
'pre_luke_stuffup_1'.
Diffstat (limited to 'examples/svr4-startup/samba.server')
-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