aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-10-02 02:16:04 +0800
committerume <ume@FreeBSD.org>2003-10-02 02:16:04 +0800
commit652b70caabbe23a66dc7f9832f21f7837eb97737 (patch)
tree7c67c8568d1d1371504925e8ccd363ad94c23106 /net
parent1652a2da353331ac36b959b14e8fe2911d199202 (diff)
downloadfreebsd-ports-gnome-652b70caabbe23a66dc7f9832f21f7837eb97737.tar.gz
freebsd-ports-gnome-652b70caabbe23a66dc7f9832f21f7837eb97737.tar.zst
freebsd-ports-gnome-652b70caabbe23a66dc7f9832f21f7837eb97737.zip
the start/stop scripts failed when booting on 5.x machines
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%%