-RETVAL=0
-# See how we were called.
-case "$1" in
- start)
-
- daemon winbindd
- RETVAL=$?
- else
- echo "Winbind is not configured in /etc/samba/smb.conf, not starting"
- fi
- echo
- [ $RETVAL -eq 0 ] && touch /var/lock/subsys/winbind || \
- RETVAL=1
- return $RETVAL
-
- # Check if the service is already running?