diff --git a/talimatname/genel/wicd/talimat b/talimatname/genel/wicd/talimat index ea360b62f..ba9d206ca 100644 --- a/talimatname/genel/wicd/talimat +++ b/talimatname/genel/wicd/talimat @@ -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 } diff --git a/talimatname/genel/wicd/wicd.rc b/talimatname/genel/wicd/wicd.rc new file mode 100644 index 000000000..60ce6fd34 --- /dev/null +++ b/talimatname/genel/wicd/wicd.rc @@ -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