summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/wicd/ChangeLog5
-rw-r--r--net-misc/wicd/files/wicd-init.d4
2 files changed, 6 insertions, 3 deletions
diff --git a/net-misc/wicd/ChangeLog b/net-misc/wicd/ChangeLog
index 6d16740d5eab..da4c5766c2df 100644
--- a/net-misc/wicd/ChangeLog
+++ b/net-misc/wicd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/wicd
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.8 2008/09/14 19:39:14 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.9 2008/09/22 15:50:10 darkside Exp $
+
+ 22 Sep 2008; Jeremy Olexa <darkside@gentoo.org> files/wicd-init.d:
+ Fix bashism in init file, bug #238278. Thanks Davide Pesavento for fix.
14 Sep 2008; Jeremy Olexa <darkside@gentoo.org>
+files/wicd-1.5.2-docs.patch, -files/wicd-1.5.2-remove-docs.patch,
diff --git a/net-misc/wicd/files/wicd-init.d b/net-misc/wicd/files/wicd-init.d
index f4083beeb8db..3f14f094624c 100644
--- a/net-misc/wicd/files/wicd-init.d
+++ b/net-misc/wicd/files/wicd-init.d
@@ -13,12 +13,12 @@ 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 $?
}