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 | 4ab2a775438f4266d270c626a9ad547c97c4eb62 (patch) | |
tree | 70891fbc368f8b0ec8a5dd215c4cecb721aed020 /packaging/SGI/winbindd.rc | |
parent | fb300e411bb385dcba2c3ca166598a71ed693b35 (diff) | |
download | samba-4ab2a775438f4266d270c626a9ad547c97c4eb62.tar.gz samba-4ab2a775438f4266d270c626a9ad547c97c4eb62.tar.xz samba-4ab2a775438f4266d270c626a9ad547c97c4eb62.zip |
new config files for winbindd startup
Diffstat (limited to 'packaging/SGI/winbindd.rc')
-rw-r--r-- | packaging/SGI/winbindd.rc | 38 |
1 files changed, 38 insertions, 0 deletions
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 |