From: Bartek Szady Date: Fri, 1 Sep 2017 16:24:31 +0000 (+0200) Subject: - upsdrvctl is in /usr/sbin now X-Git-Tag: auto/th/nut-2.7.4-2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fnut.git;a=commitdiff_plain;h=9408669 - upsdrvctl is in /usr/sbin now --- diff --git a/nut.spec b/nut.spec index e32c48e..9d995bb 100644 --- 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