summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2007-04-25 05:38:46 +0000
committerDaniel Black <dragonheart@gentoo.org>2007-04-25 05:38:46 +0000
commit61bba782057e7e196ae59372f5aed88c5b847898 (patch)
tree7bdf3ae2fa8a3a47c54cd239c97556b14bb1bf77 /sys-power/nut
parentVersion bump (diff)
downloadhistorical-61bba782057e7e196ae59372f5aed88c5b847898.tar.gz
historical-61bba782057e7e196ae59372f5aed88c5b847898.tar.bz2
historical-61bba782057e7e196ae59372f5aed88c5b847898.zip
added reload to upsd init script. bug #175928
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'sys-power/nut')
-rw-r--r--sys-power/nut/ChangeLog5
-rw-r--r--sys-power/nut/Manifest16
-rwxr-xr-xsys-power/nut/files/upsd.rc610
3 files changed, 21 insertions, 10 deletions
diff --git a/sys-power/nut/ChangeLog b/sys-power/nut/ChangeLog
index 49cee927ddb6..30007efa06e8 100644
--- a/sys-power/nut/ChangeLog
+++ b/sys-power/nut/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-power/nut
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/nut/ChangeLog,v 1.35 2007/04/22 13:48:52 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/nut/ChangeLog,v 1.36 2007/04/25 05:38:46 dragonheart Exp $
+
+ 25 Apr 2007; Daniel Black <dragonheart@gentoo.org> files/upsd.rc6:
+ added reload to upsd init script. bug #175928
22 Apr 2007; Tobias Scherbaum <dertobi123@gentoo.org> nut-2.0.5-r1.ebuild:
ppc stable, bug #173878
diff --git a/sys-power/nut/Manifest b/sys-power/nut/Manifest
index b7cafa8127e6..5f3e8a1d32e4 100644
--- a/sys-power/nut/Manifest
+++ b/sys-power/nut/Manifest
@@ -6,10 +6,10 @@ AUX nut-2.0.5-bcmxcp-3phase.patch 2983 RMD160 f27271648742d96952902e27b83e4b5ed3
MD5 e34108f029decb93d403be53790b7507 files/nut-2.0.5-bcmxcp-3phase.patch 2983
RMD160 f27271648742d96952902e27b83e4b5ed39067e7 files/nut-2.0.5-bcmxcp-3phase.patch 2983
SHA256 1ce3938251c834e8ea31850635c085ff7f4785d268d2257f4e1c05e8732056ee files/nut-2.0.5-bcmxcp-3phase.patch 2983
-AUX upsd.rc6 587 RMD160 3a4c313d7ea20551fd6ea2f6b46901a5a082245b SHA1 c8d5f3294aa2b9a267d304c1d0a0619c617c2313 SHA256 7ce640a11d1d74a260a10d313f7d688463d80ea9649c27a99f14f4f8526253d3
-MD5 75ae39e289ce8dbcc2b48bb1c2761e63 files/upsd.rc6 587
-RMD160 3a4c313d7ea20551fd6ea2f6b46901a5a082245b files/upsd.rc6 587
-SHA256 7ce640a11d1d74a260a10d313f7d688463d80ea9649c27a99f14f4f8526253d3 files/upsd.rc6 587
+AUX upsd.rc6 742 RMD160 bdf481ed3e26b09b2747f55d29c20476e99c843e SHA1 a01e430000de5120bd883a093585e37d3c2f1609 SHA256 57f47292119028659e684587c13d3cfd73fbdee0a1f1f56fae7ee7eb5c188033
+MD5 567ee52467976b715da2697b9904d8d1 files/upsd.rc6 742
+RMD160 bdf481ed3e26b09b2747f55d29c20476e99c843e files/upsd.rc6 742
+SHA256 57f47292119028659e684587c13d3cfd73fbdee0a1f1f56fae7ee7eb5c188033 files/upsd.rc6 742
AUX upsdrv.rc6 479 RMD160 0a4d9cde7208d48e4d93fbc29706069dec36c09d SHA1 bea80ef3068af7769668d0b7b705436ef3489b46 SHA256 6156b2fcc99d55a37667d9fd73e107506b27ae9930fe126730a669bad27d06df
MD5 8d8c88b238ec20a05ca2470431199bd8 files/upsdrv.rc6 479
RMD160 0a4d9cde7208d48e4d93fbc29706069dec36c09d files/upsdrv.rc6 479
@@ -75,10 +75,10 @@ EBUILD nut-2.0.5.ebuild 5002 RMD160 88a98485e6ad1aee7e25681ca14784b4febd50f0 SHA
MD5 dcf423ba716f4ed8db30fa5fa6039e3f nut-2.0.5.ebuild 5002
RMD160 88a98485e6ad1aee7e25681ca14784b4febd50f0 nut-2.0.5.ebuild 5002
SHA256 998d6f98aefa58d3d3541ca00c53565abcde1b80c01724be49c60ae087f47f20 nut-2.0.5.ebuild 5002
-MISC ChangeLog 11949 RMD160 4bcef4dd1a1756e88c7540cdd634777fc31b5ff7 SHA1 a6f912714365a9e10e219eb216f16b18ab6b9943 SHA256 1820d6af2341fd2915eac7f547080db9a656e92ae0920a6378e8adc9a2fec7ab
-MD5 b6ef1a3d2179bae10c31ca96fd9313cc ChangeLog 11949
-RMD160 4bcef4dd1a1756e88c7540cdd634777fc31b5ff7 ChangeLog 11949
-SHA256 1820d6af2341fd2915eac7f547080db9a656e92ae0920a6378e8adc9a2fec7ab ChangeLog 11949
+MISC ChangeLog 12068 RMD160 9932b36b95f537645d2abe3c94e83a14d7de8089 SHA1 0f77a213049c69c940b6162ad492b3b9ebc12afe SHA256 94b8f625b5b08afd7752d35887245f21d8fe62d7dac07f45df9f5edab6050ac0
+MD5 eeda31b5b8882b70a388ca817f3b1863 ChangeLog 12068
+RMD160 9932b36b95f537645d2abe3c94e83a14d7de8089 ChangeLog 12068
+SHA256 94b8f625b5b08afd7752d35887245f21d8fe62d7dac07f45df9f5edab6050ac0 ChangeLog 12068
MISC metadata.xml 219 RMD160 7737543ce33cd412792e332121aa1c6ed452adfc SHA1 6c360930b80d6f4168ba1a486a25ad176505ea63 SHA256 8b2ef93d0d6f03a1ad115651dc46a7752e7775a62a32a7046c3294e50b14725b
MD5 a961228140ef319b2ddba54d99b6e401 metadata.xml 219
RMD160 7737543ce33cd412792e332121aa1c6ed452adfc metadata.xml 219
diff --git a/sys-power/nut/files/upsd.rc6 b/sys-power/nut/files/upsd.rc6
index ebe6414b06e7..b6422660b3e8 100755
--- a/sys-power/nut/files/upsd.rc6
+++ b/sys-power/nut/files/upsd.rc6
@@ -1,7 +1,9 @@
#!/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/upsd.rc6,v 1.1 2006/05/15 23:43:08 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/nut/files/upsd.rc6,v 1.2 2007/04/25 05:38:46 dragonheart Exp $
+
+opts="reload"
depend() {
need net upsdrv
@@ -24,3 +26,9 @@ stop() {
start-stop-daemon --stop --quiet --pidfile /var/lib/nut/upsd.pid
eend $?
}
+
+reload() {
+ ebegin "Reloading upsd"
+ start-stop-daemon --stop --signal HUP --oknodo --quiet --pidfile /var/lib/nut/upsd.pid
+ eend $?
+}