diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile index 1e92544f9ec6..a4276858ff03 100644 --- a/sysutils/nut/Makefile +++ b/sysutils/nut/Makefile @@ -3,7 +3,7 @@ PORTNAME= nut PORTVERSION= 2.7.4 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= sysutils MASTER_SITES= http://www.networkupstools.org/source/${PORTVERSION:R}/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} diff --git a/sysutils/nut/files/nut_upslog.in b/sysutils/nut/files/nut_upslog.in index 2dbd79645549..8637340b8a1c 100644 --- a/sysutils/nut/files/nut_upslog.in +++ b/sysutils/nut/files/nut_upslog.in @@ -31,6 +31,6 @@ load_rc_config $name required_dirs="%%STATEDIR%%" command="${nut_upslog_prefix}/bin/upslog" pidfile="%%STATEDIR%%/upslog.pid" -nut_upslog_flags=${nut_upslog_flags-"-s ${nut_upslog_ups} -l ${nut_upslog_logfile} -i ${nut_upslog_interval}"} +nut_upslog_flags=${nut_upslog_flags:-"-s ${nut_upslog_ups} -l ${nut_upslog_logfile} -i ${nut_upslog_interval}"} run_rc_command "$1" diff --git a/sysutils/nut/files/nut_upsmon.in b/sysutils/nut/files/nut_upsmon.in index 57f454480cbb..9562f056faed 100644 --- a/sysutils/nut/files/nut_upsmon.in +++ b/sysutils/nut/files/nut_upsmon.in @@ -29,7 +29,7 @@ required_dirs="%%STATEDIR%%" required_files="${nut_upsmon_prefix}/etc/nut/upsmon.conf" command="${nut_upsmon_prefix}/sbin/upsmon" pidfile="%%STATEDIR%%/upsmon.pid" -nut_upsmon_flags=${nut_upsmon_flags-"localhost"} +nut_upsmon_flags=${nut_upsmon_flags:-"localhost"} extra_commands=reload stop_cmd="upsmon_stop"