summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorcvs2svn Import User <samba-bugs@samba.org>2002-01-17 01:18:15 +0000
committercvs2svn Import User <samba-bugs@samba.org>2002-01-17 01:18:15 +0000
commit3b1778dc0aaf7f4e9093b3a714fde6ff9fbe1aaf (patch)
tree7abf2b71090fc0b3d68f547aff95861dfb02c517 /packaging
parent26144f846439730e79c09c668b7f30c938465560 (diff)
parent2452ac24a79d802d27915aecf2938948a94555c1 (diff)
downloadsamba-3b1778dc0aaf7f4e9093b3a714fde6ff9fbe1aaf.tar.gz
This commit was manufactured by cvs2svn to create branch
'SAMBA_2_2_RELEASE'.
Diffstat (limited to 'packaging')
-rw-r--r--packaging/SGI/winbindd.config1
-rw-r--r--packaging/SGI/winbindd.rc38
2 files changed, 39 insertions, 0 deletions
diff --git a/packaging/SGI/winbindd.config b/packaging/SGI/winbindd.config
new file mode 100644
index 00000000000..cfb931e4705
--- /dev/null
+++ b/packaging/SGI/winbindd.config
@@ -0,0 +1 @@
+off
diff --git a/packaging/SGI/winbindd.rc b/packaging/SGI/winbindd.rc
new file mode 100644
index 00000000000..c63944a04d9
--- /dev/null
+++ b/packaging/SGI/winbindd.rc
@@ -0,0 +1,38 @@
+#! /bin/sh
+
+#
+# winbindd server control
+#
+
+IS_ON=/etc/chkconfig
+KILLALL=/sbin/killall
+
+WINBINDD=/usr/samba/bin/winbindd
+
+if test ! -x $IS_ON ; then
+ IS_ON=true
+fi
+
+if $IS_ON verbose ; then
+ ECHO=echo
+else # For a quiet startup and shutdown
+ ECHO=:
+fi
+
+case $1 in
+'start')
+ if $IS_ON winbindd && test -x $WINBINDD; then
+ $KILLALL -15 winbindd
+ $ECHO "winbindd:\c"
+ $WINBINDD ; $ECHO " winbindd."
+ fi
+ ;;
+'stop')
+ $ECHO "Stopping winbindd."
+ $KILLALL -15 winbindd
+ exit 0
+ ;;
+*)
+ echo "usage: /etc/init.d/winbindd {start|stop}"
+ ;;
+esac