diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2006-01-09 13:05:58 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2006-01-09 13:05:58 +0000 |
commit | 1d56fee0d39f7acdc683abee0031f16b6539c06d (patch) | |
tree | 514ce7ef79e3512acce1ab3cf4a2cf5d323e7a4a /sys-power/acpid/files | |
parent | Change dep to net-ssh-1.0.5 (see bug #118144) (diff) | |
download | gentoo-2-1d56fee0d39f7acdc683abee0031f16b6539c06d.tar.gz gentoo-2-1d56fee0d39f7acdc683abee0031f16b6539c06d.tar.bz2 gentoo-2-1d56fee0d39f7acdc683abee0031f16b6539c06d.zip |
Fix init script to work with baselayout-1.12.0_rcX.
(Portage version: 2.0.53)
Diffstat (limited to 'sys-power/acpid/files')
-rw-r--r-- | sys-power/acpid/files/acpid-1.0.4-init.d | 8 | ||||
-rw-r--r-- | sys-power/acpid/files/digest-acpid-1.0.4-r3 | 1 |
2 files changed, 5 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 ${?} } diff --git a/sys-power/acpid/files/digest-acpid-1.0.4-r3 b/sys-power/acpid/files/digest-acpid-1.0.4-r3 new file mode 100644 index 000000000000..37c23c5f0323 --- /dev/null +++ b/sys-power/acpid/files/digest-acpid-1.0.4-r3 @@ -0,0 +1 @@ +MD5 3aff94e92186e99ed5fd6dcee2db7c74 acpid-1.0.4.tar.gz 23416 |