From 9408669b2d875f7fafc72ff67d49597a2a5356b1 Mon Sep 17 00:00:00 2001 From: Bartek Szady Date: Fri, 1 Sep 2017 18:24:31 +0200 Subject: [PATCH] - upsdrvctl is in /usr/sbin now --- nut.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.44.0