summaryrefslogtreecommitdiff
path: root/net/dtcpclient/files
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/dtcpclient/files
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/dtcpclient/files')
-rw-r--r--net/dtcpclient/files/dtcpclient.sh8
1 files changed, 4 insertions, 4 deletions
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%%