1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

Fix incorrect script default parameter expansion.

PR:		233083
This commit is contained in:
Cy Schubert 2018-11-09 13:47:51 +00:00
parent 2861c1f548
commit e39850e312
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=484513
3 changed files with 3 additions and 3 deletions

View File

@ -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}

View File

@ -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"

View File

@ -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"