wicd-servisi-eklendi

This commit is contained in:
root 2016-03-24 11:21:54 +02:00
parent 2c64201c2f
commit e1e734d329
2 changed files with 24 additions and 0 deletions

View File

@ -32,5 +32,6 @@ done
python setup.py install --optimize=1 --root=$PKG
cp scripts/wicd $PKG/usr/bin/wicd
install -m 0744 -D $SRC/wicd.rc $PKG/etc/rc.d/wicd
echo "NotShowIn=KDE" >> $PKG/etc/xdg/autostart/wicd-tray.desktop
}

View File

@ -0,0 +1,23 @@
#!/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