mirror of
https://github.com/gryf/wicd.git
synced 2026-03-24 20:53:33 +01:00
Updated Gentoo's init script from portage.
Thanks to Jeremy Olexa (darkside_).
This commit is contained in:
@@ -13,12 +13,13 @@ depend() {
|
|||||||
|
|
||||||
start() {
|
start() {
|
||||||
ebegin "Starting wicd daemon"
|
ebegin "Starting wicd daemon"
|
||||||
$WICD_DAEMON &>/dev/null
|
"${WICD_DAEMON}" >/dev/null 2>&1
|
||||||
eend $?
|
eend $?
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
ebegin "Stopping wicd daemon"
|
ebegin "Stopping wicd daemon"
|
||||||
start-stop-daemon --stop --pidfile "$WICD_PIDFILE"
|
start-stop-daemon --stop --pidfile "${WICD_PIDFILE}"
|
||||||
eend $?
|
eend $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user