[nut/f12/master] - fix inconsitent name of upsdrvctl in init script (#633116)
Michal Hlavinka
mhlavink at fedoraproject.org
Fri Sep 17 10:01:14 UTC 2010
commit 80fb9394636195a370e03c0c56aaf74a9713adcd
Author: Michal Hlavinka <mhlavink at redhat.com>
Date: Fri Sep 17 12:01:09 2010 +0200
- fix inconsitent name of upsdrvctl in init script (#633116)
nut.spec | 5 ++++-
ups.init | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/nut.spec b/nut.spec
index 4685fc7..19d2f4e 100644
--- a/nut.spec
+++ b/nut.spec
@@ -9,7 +9,7 @@
Summary: Network UPS Tools
Name: nut
Version: 2.4.3
-Release: 5%{?dist}
+Release: 6%{?dist}
Group: Applications/System
License: GPLv2+
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -369,6 +369,9 @@ rm -rf %{buildroot}
%{_libdir}/pkgconfig/libupsclient.pc
%changelog
+* Fri Sep 17 2010 Michal Hlavinka <mhlavink at redhat.com> - 2.4.3-6
+- fix inconsitent name of upsdrvctl in init script (#633116)
+
* Mon Jul 26 2010 Michal Hlavinka <mhlavink at redhat.com> - 2.4.3-5
- fix crash when port= is ommited (#616375)
- fix issue where nut fails to restart because it did not finished termination
diff --git a/ups.init b/ups.init
index 12b312d..fab3c92 100644
--- a/ups.init
+++ b/ups.init
@@ -77,7 +77,7 @@ stop() {
RETVAL=$?
echo
- echo -n $"Shutting down upsdrvctl: "
+ echo -n $"Shutting down UPS driver controller: "
/sbin/upsdrvctl stop > /dev/null 2>&1 && success || failure
if [ "$RETVAL" = 0 ]; then
RETVAL=$?
More information about the scm-commits
mailing list