From 3fd14c91cd2658bb3a97e98125ae1e69806e38c2 Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Mon, 9 Jan 2006 16:58:33 +0000 Subject: Quiet reload() in case acpid isn't running. (Portage version: 2.0.53) --- sys-power/acpid/ChangeLog | 6 +++++- sys-power/acpid/files/acpid-1.0.4-init.d | 4 ++-- 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 + 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 ${?} } -- cgit v1.2.3-65-gdbad