wicd-servisi-eklendi
This commit is contained in:
parent
2c64201c2f
commit
e1e734d329
|
@ -32,5 +32,6 @@ done
|
||||||
|
|
||||||
python setup.py install --optimize=1 --root=$PKG
|
python setup.py install --optimize=1 --root=$PKG
|
||||||
cp scripts/wicd $PKG/usr/bin/wicd
|
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
|
echo "NotShowIn=KDE" >> $PKG/etc/xdg/autostart/wicd-tray.desktop
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue