aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2009-10-23 09:30:19 +0000
committerHiroki Sato <hrs@FreeBSD.org>2009-10-23 09:30:19 +0000
commitda5f0a6facddbaf62c9c782066bbb2f19a67ba2c (patch)
treeb919b242b0009cc3d15a98140661d312f21ee9c2 /etc
parentbbfa4aa1a69b818945d05dac04a8dc535e5db324 (diff)
downloadsrc-da5f0a6facddbaf62c9c782066bbb2f19a67ba2c.tar.gz
src-da5f0a6facddbaf62c9c782066bbb2f19a67ba2c.zip
Use double-quotation marks to fix the unexpanded variable issue.
Spotted by: swell.k
Notes
Notes: svn path=/head/; revision=198383
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.d/netoptions6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions
index f2012c5f3e89..463130456797 100755
--- a/etc/rc.d/netoptions
+++ b/etc/rc.d/netoptions
@@ -53,7 +53,7 @@ netoptions_inet()
${SYSCTL_W} net.inet.tcp.rfc1323=1 >/dev/null
else
netoptions_init
- echo -n ' rfc1323 extensions=${tcp_extensions}'
+ echo -n " rfc1323 extensions=${tcp_extensions}"
${SYSCTL_W} net.inet.tcp.rfc1323=0 >/dev/null
fi
@@ -61,13 +61,13 @@ netoptions_inet()
${SYSCTL_W} net.inet.tcp.always_keepalive=1 >/dev/null
else
netoptions_init
- echo -n ' TCP keepalive=${tcp_keepalive}'
+ echo -n " TCP keepalive=${tcp_keepalive}"
${SYSCTL_W} net.inet.tcp.always_keepalive=0 >/dev/null
fi
if checkyesno tcp_drop_synfin; then
netoptions_init
- echo -n ' drop SYN+FIN packets=${tcp_drop_synfin}'
+ echo -n " drop SYN+FIN packets=${tcp_drop_synfin}"
${SYSCTL_W} net.inet.tcp.drop_synfin=1 >/dev/null
else
${SYSCTL_W} net.inet.tcp.drop_synfin=0 >/dev/null