diff options
author | Doug Barton <dougb@FreeBSD.org> | 2009-07-15 16:56:10 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2009-07-15 16:56:10 +0000 |
commit | 0175383f0a1f8b78ed514778532f0467a8ccc6dc (patch) | |
tree | 4c98b621f22bb861a40c6493c6ed7517f295f7f3 /net/dtcp | |
parent | e6246d1055202098dd1df8f2a827665d39dddde8 (diff) |
Notes
Diffstat (limited to 'net/dtcp')
-rw-r--r-- | net/dtcp/files/dtcpc.sh.in | 10 | ||||
-rw-r--r-- | net/dtcp/files/dtcps.sh.in | 16 |
2 files changed, 7 insertions, 19 deletions
diff --git a/net/dtcp/files/dtcpc.sh.in b/net/dtcp/files/dtcpc.sh.in index ac4ad6ab6a58..512f2c575519 100644 --- a/net/dtcp/files/dtcpc.sh.in +++ b/net/dtcp/files/dtcpc.sh.in @@ -7,12 +7,6 @@ # REQUIRE: DAEMON # BEFORE: LOGIN # KEYWORD: shutdown -# -# NOTE for FreeBSD 5.0+: -# If you want this script to start with the base rc scripts -# move dtcpc.sh to /etc/rc.d/dtcpc - -prefix=%%PREFIX%% # Define these dtcpc_* variables in one of these files: # /etc/rc.conf @@ -22,7 +16,7 @@ prefix=%%PREFIX%% # DO NOT CHANGE THESE DEFAULT VALUES HERE # dtcpc_enable=${dtcpc_enable:-"NO"} # Enable dtcpc -#dtcpc_program="${prefix}/sbin/dtcpc" # Location of dtcpc +#dtcpc_program="%%PREFIX%%/sbin/dtcpc" # Location of dtcpc dtcpc_server=${dtcpc_server:-""} # DTCP server name dtcpc_username=${dtcpc_username:-""} # DTCP user name dtcpc_flags=${dtcpc_flags:-"-t network -Dl"} # Flags to dtcpc program @@ -31,7 +25,7 @@ dtcpc_flags=${dtcpc_flags:-"-t network -Dl"} # Flags to dtcpc program name="dtcpc" rcvar=`set_rcvar` -command="${prefix}/sbin/${name}" +command="%%PREFIX%%/sbin/${name}" command_interpreter="%%RUBY%%" pidfile="/var/run/${name}.pid" extra_commands="reload" diff --git a/net/dtcp/files/dtcps.sh.in b/net/dtcp/files/dtcps.sh.in index f6bb60d651cf..cb92f3476c20 100644 --- a/net/dtcp/files/dtcps.sh.in +++ b/net/dtcp/files/dtcps.sh.in @@ -7,12 +7,6 @@ # REQUIRE: DAEMON # BEFORE: LOGIN # KEYWORD: shutdown -# -# NOTE for FreeBSD 5.0+: -# If you want this script to start with the base rc scripts -# move dtcps.sh to /etc/rc.d/dtcps - -prefix=%%PREFIX%% # Define these dtcps_* variables in one of these files: # /etc/rc.conf @@ -22,10 +16,10 @@ prefix=%%PREFIX%% # DO NOT CHANGE THESE DEFAULT VALUES HERE # dtcps_enable=${dtcps_enable:-"NO"} # Enable dtcps -#dtcps_program="${prefix}/sbin/dtcps" # Location of dtcps -dtcps_tunif=${dtcps_tunif:-""} # tunnel interface -dtcps_prefix=${dtcps_prefix:-""} # prefix for host tunnel type -dtcps_flags=${dtcps_flags:-""} # Flags to dtcps program +# dtcps_program="%%PREFIX%%/sbin/dtcps" # Location of dtcps +# dtcps_tunif=${dtcps_tunif:-""} # tunnel interface +# dtcps_prefix=${dtcps_prefix:-""} # prefix for host tunnel type +# dtcps_flags=${dtcps_flags:-""} # Flags to dtcps program # interface cloning example #dtcps_tunif='gif70' @@ -43,7 +37,7 @@ dtcps_flags=${dtcps_flags:-""} # Flags to dtcps program name="dtcps" rcvar=`set_rcvar` -command="${prefix}/sbin/${name}" +command="%%PREFIX%%/sbin/${name}" command_interpreter="%%RUBY%%" pidfile="/var/run/${name}.pid" start_precmd="dtcps_prestart" |