summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2003-10-01 18:16:04 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2003-10-01 18:16:04 +0000
commit4bf83888c1c8dd1fbe013f538cfb066eb82671df (patch)
tree57361a406f8e80fa641fb6392cf17dfd2bccedd4 /net
parentthe start/stop scripts failed when booting on 5.x machines (diff)
the start/stop scripts failed when booting on 5.x machines
Notes
Notes: svn path=/head/; revision=90003
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%%