mirror of
https://github.com/gryf/wicd.git
synced 2025-12-27 00:42:31 +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() {
|
||||
ebegin "Starting wicd daemon"
|
||||
$WICD_DAEMON &>/dev/null
|
||||
"${WICD_DAEMON}" >/dev/null 2>&1
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping wicd daemon"
|
||||
start-stop-daemon --stop --pidfile "$WICD_PIDFILE"
|
||||
start-stop-daemon --stop --pidfile "${WICD_PIDFILE}"
|
||||
eend $?
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user