summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2006-01-09 16:58:33 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2006-01-09 16:58:33 +0000
commit3fd14c91cd2658bb3a97e98125ae1e69806e38c2 (patch)
tree4465e44d6ee7f807a86108b8fdedb1b58af56666
parentRemove retired dev from metadata.xml (diff)
downloadgentoo-2-3fd14c91cd2658bb3a97e98125ae1e69806e38c2.tar.gz
gentoo-2-3fd14c91cd2658bb3a97e98125ae1e69806e38c2.tar.bz2
gentoo-2-3fd14c91cd2658bb3a97e98125ae1e69806e38c2.zip
Quiet reload() in case acpid isn't running.
(Portage version: 2.0.53)
-rw-r--r--sys-power/acpid/ChangeLog6
-rw-r--r--sys-power/acpid/files/acpid-1.0.4-init.d4
2 files changed, 7 insertions, 3 deletions
diff --git a/sys-power/acpid/ChangeLog b/sys-power/acpid/ChangeLog
index cd9110413d58..1d15110fd779 100644
--- a/sys-power/acpid/ChangeLog
+++ b/sys-power/acpid/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-power/acpid
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/ChangeLog,v 1.16 2006/01/09 13:05:58 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/ChangeLog,v 1.17 2006/01/09 16:58:33 brix Exp $
+
+ 09 Jan 2006; Henrik Brix Andersen <brix@gentoo.org>
+ files/acpid-1.0.4-init.d:
+ Quiet reload() in case acpid isn't running.
*acpid-1.0.4-r3 (09 Jan 2006)
diff --git a/sys-power/acpid/files/acpid-1.0.4-init.d b/sys-power/acpid/files/acpid-1.0.4-init.d
index fdf89987edcb..af33dd55ead2 100644
--- a/sys-power/acpid/files/acpid-1.0.4-init.d
+++ b/sys-power/acpid/files/acpid-1.0.4-init.d
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/files/acpid-1.0.4-init.d,v 1.2 2006/01/09 13:05:58 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/files/acpid-1.0.4-init.d,v 1.3 2006/01/09 16:58:33 brix Exp $
opts="${opts} reload"
@@ -33,6 +33,6 @@ stop() {
reload() {
ebegin "Reloading acpid configuration"
- kill -HUP $(pidof /usr/sbin/acpid)
+ kill -HUP $(pidof /usr/sbin/acpid) > /dev/null 2>&1
eend ${?}
}