diff options
author | hrs <hrs@FreeBSD.org> | 2009-10-23 09:30:19 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2009-10-23 09:30:19 +0000 |
commit | 00cbb9550382fe0aa0116d9ced59c4d68ee535ec (patch) | |
tree | b919b242b0009cc3d15a98140661d312f21ee9c2 /etc | |
parent | ab67e905811f43a769913d8a926a730c9e8eaf22 (diff) | |
download | FreeBSD-src-00cbb9550382fe0aa0116d9ced59c4d68ee535ec.zip FreeBSD-src-00cbb9550382fe0aa0116d9ced59c4d68ee535ec.tar.gz |
Use double-quotation marks to fix the unexpanded variable issue.
Spotted by: swell.k
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.d/netoptions | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions index f2012c5..4631304 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 |