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:
parent
ab3cae9768
commit
80653ebbbf
1
packaging/SGI/winbindd.config
Normal file
1
packaging/SGI/winbindd.config
Normal file
@ -0,0 +1 @@
|
||||
off
|
38
packaging/SGI/winbindd.rc
Normal file
38
packaging/SGI/winbindd.rc
Normal 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
|
Loading…
x
Reference in New Issue
Block a user