diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2008-06-25 02:53:08 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2008-06-25 02:53:08 +0000 |
commit | b9ed72036d1cdc56c1ef761eb1e82abd3b6224dc (patch) | |
tree | 05af678aa20eb92fcd1c7d551e63048dee25dcd8 /sys-power/nut/files | |
parent | Fix bug #226627 for autoconf usage, aka make flameeyes happy. (diff) | |
download | gentoo-2-b9ed72036d1cdc56c1ef761eb1e82abd3b6224dc.tar.gz gentoo-2-b9ed72036d1cdc56c1ef761eb1e82abd3b6224dc.tar.bz2 gentoo-2-b9ed72036d1cdc56c1ef761eb1e82abd3b6224dc.zip |
Forgot cleanup bit.
(Portage version: 2.2_rc1/cvs/Linux 2.6.26-rc4-00103-g1beee8d x86_64)
Diffstat (limited to 'sys-power/nut/files')
-rwxr-xr-x | sys-power/nut/files/nut-2.2.2-init.d-upsmon | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-power/nut/files/nut-2.2.2-init.d-upsmon b/sys-power/nut/files/nut-2.2.2-init.d-upsmon index 3cb355b1ffdf..9ccf173db028 100755 --- a/sys-power/nut/files/nut-2.2.2-init.d-upsmon +++ b/sys-power/nut/files/nut-2.2.2-init.d-upsmon @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/nut/files/nut-2.2.2-init.d-upsmon,v 1.1 2008/06/25 02:29:04 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/nut/files/nut-2.2.2-init.d-upsmon,v 1.2 2008/06/25 02:53:08 robbat2 Exp $ opts="reload" pidfile=/var/run/upsmon.pid @@ -13,13 +13,13 @@ depend() { start() { ebegin "Starting upsmon" - start-stop-daemon --start --quiet --exec /usr/sbin/upsmon + start-stop-daemon --start --quiet --exec ${bin} eend $? } stop() { ebegin "Stopping upsmon" - start-stop-daemon --stop --quiet --pidfile /var/run/upsmon.pid + start-stop-daemon --stop --quiet --pidfile ${pidfile} eend $? } reload() { |