aboutsummaryrefslogtreecommitdiff
path: root/net/isc-dhcp31-server
diff options
context:
space:
mode:
authorJosh Paetzel <jpaetzel@FreeBSD.org>2009-09-02 13:47:05 +0000
committerJosh Paetzel <jpaetzel@FreeBSD.org>2009-09-02 13:47:05 +0000
commitca9d0f430f20f0131cdd819a90c711e50db19a87 (patch)
tree8dd3f29f966d413fd400cf3be6669bdb108ba925 /net/isc-dhcp31-server
parent2a3c26009cb6d15812c9cd2773c2867acbb95069 (diff)
downloadports-ca9d0f430f20f0131cdd819a90c711e50db19a87.tar.gz
ports-ca9d0f430f20f0131cdd819a90c711e50db19a87.zip
Notes
Diffstat (limited to 'net/isc-dhcp31-server')
-rw-r--r--net/isc-dhcp31-server/Makefile2
-rw-r--r--net/isc-dhcp31-server/files/isc-dhcpd.in3
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"