wicd: add misisng wicd.rc file
This commit is contained in:
parent
1118c76ff9
commit
be0ac6b361
23
wicd/wicd.rc
Normal file
23
wicd/wicd.rc
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# /etc/rc.d/wicd: start/stop wicd daemon
|
||||||
|
#
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
start)
|
||||||
|
/usr/sbin/wicd
|
||||||
|
;;
|
||||||
|
stop)
|
||||||
|
killall -q /usr/sbin/wicd
|
||||||
|
;;
|
||||||
|
restart)
|
||||||
|
$0 stop
|
||||||
|
$0 start
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "usage: $0 [start|stop|restart]"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# End of file
|
Loading…
Reference in New Issue
Block a user