1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

new config files for winbindd startup

(This used to be commit 4ab2a775438f4266d270c626a9ad547c97c4eb62)
This commit is contained in:
Herb Lewis 2002-01-17 01:18:13 +00:00
parent ab3cae9768
commit 80653ebbbf
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1 @@
off

38
packaging/SGI/winbindd.rc Normal file
View File

@ -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