milis/talimatname/genel/wicd/wicd.rc

24 lines
245 B
Plaintext
Raw Normal View History

2016-03-24 10:21:54 +01:00
#!/bin/sh
#
# /etc/rc.d/wicd: start/stop wicd daemon
#
case $1 in
start)
/usr/bin/wicd
;;
stop)
kill $(cat /var/run/wicd/wicd.pid)
;;
restart)
$0 stop
$0 start
;;
*)
echo "usage: $0 [start|stop|restart]"
exit 1
;;
esac
# End of file