aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/dtcpclient/Makefile2
-rw-r--r--net/dtcpclient/files/dtcpclient.sh8
2 files changed, 5 insertions, 5 deletions
diff --git a/net/dtcpclient/Makefile b/net/dtcpclient/Makefile
index 14ba60131371..7ee742244039 100644
--- a/net/dtcpclient/Makefile
+++ b/net/dtcpclient/Makefile
@@ -7,7 +7,7 @@
PORTNAME= dtcpclient
PORTVERSION= 20030324
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net ipv6
MASTER_SITES= http://www.imasy.or.jp/~ume/ipv6/
diff --git a/net/dtcpclient/files/dtcpclient.sh b/net/dtcpclient/files/dtcpclient.sh
index 884fad8f03eb..de19bc2771c5 100644
--- a/net/dtcpclient/files/dtcpclient.sh
+++ b/net/dtcpclient/files/dtcpclient.sh
@@ -21,11 +21,11 @@ prefix=%%PREFIX%%
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
-dtcpclient_enable="NO" # Enable dtcpclient
+[ -z "$dtcpclient_enable" ] && dtcpclient_enable="NO" # Enable dtcpclient
#dtcpclient_program="${prefix}/sbin/dtcpclient" # Location of dtcpclient
-dtcpclient_server="" # DTCP server name
-dtcpclient_username="" # DTCP user name
-dtcpclient_flags="-t network -Dl" # Flags to dtcpclient program
+[ -z "$dtcpclient_server" ] && dtcpclient_server="" # DTCP server name
+[ -z "$dtcpclient_username" ] && dtcpclient_username="" # DTCP user name
+[ -z "$dtcpclient_flags" ] && dtcpclient_flags="-t network -Dl" # Flags to dtcpclient program
. %%RC_SUBR%%