]> git.pld-linux.org Git - packages/nut.git/commitdiff
- upsdrvctl is in /usr/sbin now auto/th/nut-2.7.4-2
authorBartek Szady <bszx@bszx.eu>
Fri, 1 Sep 2017 16:24:31 +0000 (18:24 +0200)
committerBartek Szady <bszx@bszx.eu>
Fri, 1 Sep 2017 16:25:35 +0000 (18:25 +0200)
nut.spec

index e32c48e691f1b341a211419cb51c092168e5d615..9d995bb81af98e9e49117aae6d619ccb1e02465b 100644 (file)
--- a/nut.spec
+++ b/nut.spec
@@ -11,7 +11,7 @@ Summary:      Network UPS Tools
 Summary(pl.UTF-8):     Sieciowe narzędzie do UPS-ów
 Name:          nut
 Version:       2.7.4
-Release:       1
+Release:       2
 License:       GPL
 Group:         Applications/System
 Source0:       http://www.networkupstools.org/source/2.7/%{name}-%{version}.tar.gz
@@ -240,7 +240,7 @@ done
 cat > $RPM_BUILD_ROOT/sbin/poweroff-ups << EOF
 #!/bin/sh
 echo "Switching the power off"
-/lib/nut/upsdrvctl shutdown
+/usr/sbin/upsdrvctl shutdown
 sleep 60
 EOF
 
This page took 0.097761 seconds and 4 git commands to generate.