repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git]
/
wicd-ipv6
/
wicd-daemon
blob
a75c380b4ab2f8b8d993826209e91b80d48e147b
1
#!/bin/bash
2
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
12
;;
13
stop
)
14
stat_busy
"Stopping wicd Daemon"
15
pkill
-f
wicd-daemon.py
&> /
dev
/
null
16
rm_daemon wicd
17
stat_done
18
;;
19
restart
)
20
$0
stop
21
sleep
1
22
$0
start
23
;;
24
*)
25
echo
"usage:
$0
{start|stop|restart}"
26
esac
27
exit
0