From a599fa976ee8e95ba2aa8010291e734c7a9457b6 Mon Sep 17 00:00:00 2001 From: cy Date: Sat, 5 Jul 2014 04:51:06 +0000 Subject: Point rc script to the new upsdrvctl path. --- sysutils/nut/Makefile | 1 + sysutils/nut/files/nut.in | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile index 494a842e525f..e80cae75983f 100644 --- a/sysutils/nut/Makefile +++ b/sysutils/nut/Makefile @@ -3,6 +3,7 @@ PORTNAME= nut PORTVERSION= 2.7.2 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://www.networkupstools.org/source/${PORTVERSION:R}/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig diff --git a/sysutils/nut/files/nut.in b/sysutils/nut/files/nut.in index 98ba6394389c..5b0e3cb86050 100644 --- a/sysutils/nut/files/nut.in +++ b/sysutils/nut/files/nut.in @@ -34,11 +34,11 @@ start_precmd="nut_prestart" stop_postcmd="nut_poststop" nut_prestart() { - ${nut_prefix}/libexec/nut/upsdrvctl start + ${nut_prefix}/sbin/upsdrvctl start } nut_poststop() { - ${nut_prefix}/libexec/nut/upsdrvctl stop + ${nut_prefix}/sbin/upsdrvctl stop } extra_commands=reload -- cgit