mirror of
https://github.com/gryf/wicd.git
synced 2025-12-28 09:22:36 +01:00
Experimental: Apply changes involving setup.py
* Added setup.py from trunk * Updated various information files (AUTHORS, README, etc) * Update the Wicd icon * Move stuff around to match trunk's layout
This commit is contained in:
33
init/arch/wicd
Executable file
33
init/arch/wicd
Executable file
@@ -0,0 +1,33 @@
|
||||
#!/bin/bash
|
||||
|
||||
# borrowed from
|
||||
# http://repos.archlinux.org/viewvc.cgi/wicd/repos/extra-i686/wicd-daemon?revision=1&view=markup
|
||||
# and modified for 1.5.0
|
||||
|
||||
. /etc/rc.conf
|
||||
. /etc/rc.d/functions
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
stat_busy "Starting wicd Daemon"
|
||||
killall wicd &> /dev/null
|
||||
/usr/sbin/wicd-daemon &> /dev/null
|
||||
add_daemon wicd
|
||||
stat_done
|
||||
;;
|
||||
stop)
|
||||
stat_busy "Stopping wicd Daemon"
|
||||
killall wicd &> /dev/null
|
||||
rm_daemon wicd
|
||||
stat_done
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 1
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 {start|stop|restart}"
|
||||
esac
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user