diff options
author | wxs <wxs@FreeBSD.org> | 2008-11-26 09:16:53 +0800 |
---|---|---|
committer | wxs <wxs@FreeBSD.org> | 2008-11-26 09:16:53 +0800 |
commit | a8964500b67485962e46fb92b06a220bb96fd417 (patch) | |
tree | 6d49d95aef485b22ebc1a60ffb2dce47fba2bc53 | |
parent | 8263c85a98dc2654e45072d7c191bc428cf3f8a6 (diff) | |
download | freebsd-ports-gnome-a8964500b67485962e46fb92b06a220bb96fd417.tar.gz freebsd-ports-gnome-a8964500b67485962e46fb92b06a220bb96fd417.tar.zst freebsd-ports-gnome-a8964500b67485962e46fb92b06a220bb96fd417.zip |
- Fix RC script so the flags are not duplicated.
- Properly quote a variable.
- Bump PORTREVISION.
PR: ports/125522
Submitted by: Glen Neff <neff_glen@emc.com>
Approved by: maintainer timeout
-rw-r--r-- | net/dhcp6/Makefile | 2 | ||||
-rw-r--r-- | net/dhcp6/files/dhcp6relay.sh.in | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/net/dhcp6/Makefile b/net/dhcp6/Makefile index 39b183ac8705..c43ad0fccef3 100644 --- a/net/dhcp6/Makefile +++ b/net/dhcp6/Makefile @@ -7,7 +7,7 @@ PORTNAME= dhcp6 PORTVERSION= 20080615 -#PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= net ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= wide-dhcpv6 diff --git a/net/dhcp6/files/dhcp6relay.sh.in b/net/dhcp6/files/dhcp6relay.sh.in index 2b7e79da8457..f548ac28367c 100644 --- a/net/dhcp6/files/dhcp6relay.sh.in +++ b/net/dhcp6/files/dhcp6relay.sh.in @@ -33,11 +33,11 @@ load_rc_config $name : ${dhcp6relay_enable="NO"} -command_args="${dhcp6relay_flags} ${dhcp6relay_interfaces}" +command_args="${dhcp6relay_interfaces}" dhcp6relay_precmd() { - if [ -z ${dhcp6relay_interfaces} ]; then + if [ -z "${dhcp6relay_interfaces}" ]; then warn "dhcp6relay_interfaces is not set." return 1 fi |