source: trunk/server/packaging/SGI/winbindd.rc@ 1036

Last change on this file since 1036 was 414, checked in by Herwig Bauernfeind, 16 years ago

Samba 3.5.0: Initial import

File size: 548 bytes
Line 
1#! /bin/sh
2
3#
4# winbindd control
5#
6
7IS_ON=/etc/chkconfig
8KILLALL=/sbin/killall
9
10WINBINDD=/usr/samba/bin/winbindd
11
12if test ! -x $IS_ON ; then
13 IS_ON=true
14fi
15
16if $IS_ON verbose ; then
17 ECHO=echo
18else # For a quiet startup and shutdown
19 ECHO=:
20fi
21
22case $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."
28 fi
29 ;;
30'stop')
31 $ECHO "Stopping winbindd."
32 $KILLALL -15 winbindd
33 exit 0
34 ;;
35*)
36 echo "usage: /etc/init.d/winbind {start|stop}"
37 ;;
38esac
Note: See TracBrowser for help on using the repository browser.