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:
parent
2861c1f548
commit
e39850e312
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=484513
@ -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}
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user