mirror of
https://github.com/gryf/wicd.git
synced 2026-04-25 16:01:25 +02: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:
Executable
+24
@@ -0,0 +1,24 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
opts="start stop restart"
|
||||
|
||||
WICD_DAEMON=%SBIN%wicd
|
||||
WICD_PIDFILE=%PIDFILE%
|
||||
|
||||
depend() {
|
||||
need dbus
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting wicd daemon"
|
||||
$WICD_DAEMON &>/dev/null
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping wicd daemon"
|
||||
start-stop-daemon --stop --pidfile "$WICD_PIDFILE"
|
||||
eend $?
|
||||
}
|
||||
Reference in New Issue
Block a user