diff options
author | Herb Lewis <herb@samba.org> | 2002-01-17 01:18:13 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2002-01-17 01:18:13 +0000 |
commit | 80653ebbbfb8c7f2c173734fea3c252f5dd9c450 (patch) | |
tree | 334e659e6270b73c55db012e15cf7cb3a13947a7 /packaging/SGI | |
parent | ab3cae976800edd206d6c5b88bb4bd40b133f970 (diff) | |
download | samba-80653ebbbfb8c7f2c173734fea3c252f5dd9c450.tar.gz samba-80653ebbbfb8c7f2c173734fea3c252f5dd9c450.tar.bz2 samba-80653ebbbfb8c7f2c173734fea3c252f5dd9c450.zip |
new config files for winbindd startup
(This used to be commit 4ab2a775438f4266d270c626a9ad547c97c4eb62)
Diffstat (limited to 'packaging/SGI')
-rw-r--r-- | packaging/SGI/winbindd.config | 1 | ||||
-rw-r--r-- | packaging/SGI/winbindd.rc | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/packaging/SGI/winbindd.config b/packaging/SGI/winbindd.config new file mode 100644 index 0000000000..cfb931e470 --- /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 0000000000..c63944a04d --- /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 |