1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-24 15:12:31 +01:00
Files
wicd/init/gentoo/wicd
compwiz18 0844386017 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
2008-08-23 20:14:43 +00:00

25 lines
424 B
Plaintext
Executable File

#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
opts="start stop restart"
WICD_DAEMON=/usr/sbin/wicd
WICD_PIDFILE=/var/run/wicd/wicd.pid
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 $?
}