updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / wicd-ipv6 / wicd-daemon
bloba75c380b4ab2f8b8d993826209e91b80d48e147b
1 #!/bin/bash
3 . /etc/rc.conf
4 . /etc/rc.d/functions
5 case "$1" in
6 start)
7 stat_busy "Starting wicd Daemon"
8 pkill -f wicd-daemon.py &> /dev/null
9 /usr/sbin/wicd &> /dev/null
10 add_daemon wicd
11 stat_done
13 stop)
14 stat_busy "Stopping wicd Daemon"
15 pkill -f wicd-daemon.py &> /dev/null
16 rm_daemon wicd
17 stat_done
19 restart)
20 $0 stop
21 sleep 1
22 $0 start
25 echo "usage: $0 {start|stop|restart}"
26 esac
27 exit 0