diff options
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/nut/Makefile | 1 | ||||
-rw-r--r-- | 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 |