3
# Start/stops the winbindd daemon.
7
PATH=/sbin:/bin:/usr/sbin:/usr/bin
9
DAEMON=/usr/sbin/winbindd
11
# clear conflicting settings from the environment
14
# See if the daemon is there
15
test -x $DAEMON || exit 0
17
. /lib/lsb/init-functions
21
log_begin_msg "Starting the Winbind daemon..."
23
start-stop-daemon --start --quiet --exec $DAEMON
29
log_begin_msg "Stopping the Winbind daemon..."
31
start-stop-daemon --stop --quiet --oknodo --exec $DAEMON
37
log_begin_msg "Restarting the Winbind daemon..."
39
start-stop-daemon --stop --quiet --oknodo --exec $DAEMON
41
start-stop-daemon --start --quiet --exec $DAEMON
46
log_success_msg "Usage: /etc/init.d/winbind {start|stop|restart|force-reload}"