diff options
author | steve <steve@FreeBSD.org> | 1998-06-14 16:31:03 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-06-14 16:31:03 +0000 |
commit | 48e1128e9d07ed5d62ed16b5c7770f8a92f1e1e8 (patch) | |
tree | ee27682a418116d8a83e0e72365eec56b954b2ff /etc/rc.d/network2 | |
parent | ccb6372369955c55469ee10f5c510d3b96ecdbef (diff) | |
download | FreeBSD-src-48e1128e9d07ed5d62ed16b5c7770f8a92f1e1e8.zip FreeBSD-src-48e1128e9d07ed5d62ed16b5c7770f8a92f1e1e8.tar.gz |
Cleanup natd startup test.
PR: 6946
Submitted by: Jacques Vidrine <n@nectar.com>
Diffstat (limited to 'etc/rc.d/network2')
-rw-r--r-- | etc/rc.d/network2 | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/etc/rc.d/network2 b/etc/rc.d/network2 index 6490c48..5c362b2 100644 --- a/etc/rc.d/network2 +++ b/etc/rc.d/network2 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.network,v 1.25 1998/05/06 17:36:16 andreas Exp $ +# $Id: rc.network,v 1.26 1998/05/19 04:36:31 jkh Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -269,10 +269,9 @@ network_pass3() { fi # Network Address Translation daemon - if [ "X${natd_enable}" = X"YES" -a "X${natd_interface}" != X"" ]; then - if [ -a "X${firewall_enable}" = X"YES" ]; then - echo -n ' natd'; natd ${natd_flags} -n ${natd_interface} - fi + if [ "X${natd_enable}" = X"YES" -a "X${natd_interface}" != X"" \ + -a "X${firewall_enable}" = X"YES" ]; then + echo -n ' natd'; natd ${natd_flags} -n ${natd_interface} fi echo '.' |