blob: cbcdc9572b28988af75c6bc542bcac1d16b49fd9 (
plain)
1 #!/bin/sh
2 #
3 # /etc/rc.d/wicd: start/stop wicd daemon
4 #
5
6 case $1 in
7 start)
8 /usr/sbin/wicd
9 ;;
10 stop)
11 kill $(cat /var/run/wicd/wicd.pid)
12 ;;
13 restart)
14 $0 stop
15 $0 start
16 ;;
17 *)
18 echo "usage: $0 [start|stop|restart]"
19 exit 1
20 ;;
21 esac
22
23 # End of file
|