wicd: use the pid file to kill wicd, thank you Tek

This commit is contained in:
Danny Rawlins 2013-06-30 22:25:02 +10:00
parent 4ab3c10011
commit 0c094f7223
3 changed files with 3 additions and 3 deletions

View File

@ -2,4 +2,4 @@
0d2355bc2eb7234a537f42f1773edfe0 831
1630d7fe8f09911302d33b26286ff9b8 835
c2435ddfdef0b9898852d72a85a45f0f wicd-1.7.2.4.tar.gz
837c659a44730d3ccaa1dfa65b942e0c wicd.rc
3dd339d9b0dbc51f9390af474a2db436 wicd.rc

View File

@ -5,7 +5,7 @@
name=wicd
version=1.7.2.4
release=2
release=3
source=(http://launchpad.net/wicd/1.7/$version/+download/$name-$version.tar.gz
wicd.rc
http://bazaar.launchpad.net/~wicd-devel/wicd/experimental/diff/770

View File

@ -8,7 +8,7 @@ start)
/usr/sbin/wicd
;;
stop)
killall -q /usr/sbin/wicd
kill $(cat /var/run/wicd/wicd.pid)
;;
restart)
$0 stop