diff options
author | jpaetzel <jpaetzel@FreeBSD.org> | 2009-09-02 21:47:05 +0800 |
---|---|---|
committer | jpaetzel <jpaetzel@FreeBSD.org> | 2009-09-02 21:47:05 +0800 |
commit | 7e9b8532ac1015be3340e9432e338380114de447 (patch) | |
tree | 30cae32792a9fed2f8a93ae4bfc82689878cedc2 /net/isc-dhcp31-server | |
parent | 5e9a72ef6dd45e6dc0cbb869207175bac906059b (diff) | |
download | freebsd-ports-gnome-7e9b8532ac1015be3340e9432e338380114de447.tar.gz freebsd-ports-gnome-7e9b8532ac1015be3340e9432e338380114de447.tar.zst freebsd-ports-gnome-7e9b8532ac1015be3340e9432e338380114de447.zip |
Fix syntax errors in rcNG script
PR: ports/138461
Submitted by: Neil Darlow <neil@darlow.co.uk>
Approved by: itetcu@ (mentor)
Diffstat (limited to 'net/isc-dhcp31-server')
-rw-r--r-- | net/isc-dhcp31-server/Makefile | 2 | ||||
-rw-r--r-- | net/isc-dhcp31-server/files/isc-dhcpd.in | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/net/isc-dhcp31-server/Makefile b/net/isc-dhcp31-server/Makefile index 606deb2f68ad..7e338fb6e649 100644 --- a/net/isc-dhcp31-server/Makefile +++ b/net/isc-dhcp31-server/Makefile @@ -19,7 +19,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION} MAINTAINER= jpaetzel@FreeBSD.org COMMENT?= The ISC Dynamic Host Configuration Protocol server -PORTREVISION_SERVER= 1 +PORTREVISION_SERVER= 2 PORTREVISION_CLIENT= 0 PORTREVISION_RELAY= 0 PORTREVISION_DEVEL= 0 diff --git a/net/isc-dhcp31-server/files/isc-dhcpd.in b/net/isc-dhcp31-server/files/isc-dhcpd.in index f6c2aefa9370..a9f806a0975b 100644 --- a/net/isc-dhcp31-server/files/isc-dhcpd.in +++ b/net/isc-dhcp31-server/files/isc-dhcpd.in @@ -706,9 +706,8 @@ dhcpd_checkconfig () setup_flags rc_flags_mod="$rc_flags" # Eliminate '-q' flag if it is present - echo $rc_flags case "$rc_flags" in - *-q*) rc_flags_mod=`echo "$(rc_flags)" | sed -Ee 's/(^-q | -q | -q$)'//` ;; + *-q*) rc_flags_mod=`echo "${rc_flags}" | sed -Ee 's/(^-q | -q | -q$)//'` ;; esac if ! ${command} -t -q ${rc_flags_mod}; then err 1 "`${command} -t ${rc_flags_mod}` Configuration file sanity check failed" |