From 728fa198ce2a4da901a6d639832224f9b1afb8c2 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Wed, 28 Jan 2009 20:54:31 -0600 Subject: [PATCH] Updated Gentoo's init script from portage. Thanks to Jeremy Olexa (darkside_). --- in/init=gentoo=wicd.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/in/init=gentoo=wicd.in b/in/init=gentoo=wicd.in index c048622..6f307bc 100755 --- a/in/init=gentoo=wicd.in +++ b/in/init=gentoo=wicd.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 $? } +