summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-06-25 02:53:08 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-06-25 02:53:08 +0000
commitb9ed72036d1cdc56c1ef761eb1e82abd3b6224dc (patch)
tree05af678aa20eb92fcd1c7d551e63048dee25dcd8
parentFix bug #226627 for autoconf usage, aka make flameeyes happy. (diff)
downloadgentoo-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)
-rw-r--r--sys-power/nut/ChangeLog6
-rwxr-xr-xsys-power/nut/files/nut-2.2.2-init.d-upsmon6
2 files changed, 8 insertions, 4 deletions
diff --git a/sys-power/nut/ChangeLog b/sys-power/nut/ChangeLog
index 3203d83c51d9..32a6e4f2b633 100644
--- a/sys-power/nut/ChangeLog
+++ b/sys-power/nut/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-power/nut
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/nut/ChangeLog,v 1.55 2008/06/25 02:32:01 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/nut/ChangeLog,v 1.56 2008/06/25 02:53:07 robbat2 Exp $
+
+ 25 Jun 2008; Robin H. Johnson <robbat2@gentoo.org>
+ files/nut-2.2.2-init.d-upsmon:
+ Forgot cleanup bit.
25 Jun 2008; Robin H. Johnson <robbat2@gentoo.org> nut-2.0.5-r2.ebuild:
Fix bug #226627 for autoconf usage.
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() {