s4:auth: make auth_challenge_may_be_modified() public
[Samba/gbeck.git] / packaging / SGI / winbindd.rc
blobdeb4708c667286e22085c9865162de11b940a362
1 #! /bin/sh
4 # winbindd control
7 IS_ON=/etc/chkconfig
8 KILLALL=/sbin/killall
10 WINBINDD=/usr/samba/bin/winbindd
12 if test ! -x $IS_ON ; then
13 IS_ON=true
16 if $IS_ON verbose ; then
17 ECHO=echo
18 else # For a quiet startup and shutdown
19 ECHO=:
22 case $1 in
23 'start')
24 if $IS_ON winbind && test -x $WINBINDD; then
25 $KILLALL -15 winbindd
26 $ECHO "winbindd:\c"
27 $WINBINDD ; $ECHO " winbindd."
30 'stop')
31 $ECHO "Stopping winbindd."
32 $KILLALL -15 winbindd
33 exit 0
36 echo "usage: /etc/init.d/winbind {start|stop}"
38 esac