Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jul 2014 04:51:06 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360718 - in head/sysutils/nut: . files
Message-ID:  <201407050451.s654p6AO005178@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Sat Jul  5 04:51:06 2014
New Revision: 360718
URL: http://svnweb.freebsd.org/changeset/ports/360718
QAT: https://qat.redports.org/buildarchive/r360718/

Log:
  Point rc script to the new upsdrvctl path.

Modified:
  head/sysutils/nut/Makefile
  head/sysutils/nut/files/nut.in

Modified: head/sysutils/nut/Makefile
==============================================================================
--- head/sysutils/nut/Makefile	Sat Jul  5 03:23:35 2014	(r360717)
+++ head/sysutils/nut/Makefile	Sat Jul  5 04:51:06 2014	(r360718)
@@ -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

Modified: head/sysutils/nut/files/nut.in
==============================================================================
--- head/sysutils/nut/files/nut.in	Sat Jul  5 03:23:35 2014	(r360717)
+++ head/sysutils/nut/files/nut.in	Sat Jul  5 04:51:06 2014	(r360718)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407050451.s654p6AO005178>