summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/nut/ChangeLog6
-rwxr-xr-xsys-power/nut/files/nut-2.2.2-init.d-upsd7
-rwxr-xr-xsys-power/nut/files/nut-2.2.2-init.d-upsdrv7
-rwxr-xr-xsys-power/nut/files/nut-2.2.2-init.d-upsmon7
4 files changed, 17 insertions, 10 deletions
diff --git a/sys-power/nut/ChangeLog b/sys-power/nut/ChangeLog
index 06a2e96c60fc..89e34f4060e6 100644
--- a/sys-power/nut/ChangeLog
+++ b/sys-power/nut/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-power/nut
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/nut/ChangeLog,v 1.94 2011/11/07 23:28:29 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/nut/ChangeLog,v 1.95 2011/12/04 10:43:19 swegener Exp $
+
+ 04 Dec 2011; Sven Wegener <swegener@gentoo.org> files/nut-2.2.2-init.d-upsd,
+ files/nut-2.2.2-init.d-upsdrv, files/nut-2.2.2-init.d-upsmon:
+ replace opts with extra_commands
*nut-2.6.2 (07 Nov 2011)
diff --git a/sys-power/nut/files/nut-2.2.2-init.d-upsd b/sys-power/nut/files/nut-2.2.2-init.d-upsd
index 4678b3e2cf33..8f8953993288 100755
--- a/sys-power/nut/files/nut-2.2.2-init.d-upsd
+++ b/sys-power/nut/files/nut-2.2.2-init.d-upsd
@@ -1,9 +1,10 @@
#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2011 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-upsd,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-upsd,v 1.2 2011/12/04 10:43:19 swegener Exp $
+
+extra_started_commands="reload"
-opts="reload"
pidfile=/var/lib/nut/upsd.pid
bin=/usr/sbin/upsd
diff --git a/sys-power/nut/files/nut-2.2.2-init.d-upsdrv b/sys-power/nut/files/nut-2.2.2-init.d-upsdrv
index 3d18e5bc3db6..5cbae7fa9b46 100755
--- a/sys-power/nut/files/nut-2.2.2-init.d-upsdrv
+++ b/sys-power/nut/files/nut-2.2.2-init.d-upsdrv
@@ -1,9 +1,10 @@
#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2011 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-upsdrv,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-upsdrv,v 1.2 2011/12/04 10:43:19 swegener Exp $
+
+extra_commands="stopall startall"
-opts="start stop stopall startall"
UPSNAME=${SVCNAME#*.}
msgtext="drivers"
[ "${UPSNAME}" == "${SVCNAME}" ] && UPSNAME=''
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 9ccf173db028..4aefba0714cd 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,9 +1,10 @@
#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2011 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.2 2008/06/25 02:53:08 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/nut/files/nut-2.2.2-init.d-upsmon,v 1.3 2011/12/04 10:43:19 swegener Exp $
+
+extra_started_commands="reload"
-opts="reload"
pidfile=/var/run/upsmon.pid
bin=/usr/sbin/upsmon