diff options
Diffstat (limited to 'sys-power/acpid/files/acpid-1.0.4-init.d')
-rw-r--r-- | sys-power/acpid/files/acpid-1.0.4-init.d | 8 |
1 files changed, 4 insertions, 4 deletions
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 33bb80a5a01e..fdf89987edcb 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.1 2005/07/02 18:27:49 brix Exp $ +# $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 $ opts="${opts} reload" @@ -20,19 +20,19 @@ start() { checkconfig || return 1 ebegin "Starting acpid" - start-stop-daemon --start --quiet --exec /usr/sbin/acpid -- \ + start-stop-daemon --start --exec /usr/sbin/acpid -- \ -c /etc/acpi/events eend ${?} } stop() { ebegin "Stopping acpid" - start-stop-daemon --stop --quiet --exec /usr/sbin/acpid + start-stop-daemon --stop --exec /usr/sbin/acpid eend ${?} } reload() { ebegin "Reloading acpid configuration" - start-stop-daemon --stop --quiet --exec /usr/sbin/acpid --signal HUP + kill -HUP $(pidof /usr/sbin/acpid) eend ${?} } |