diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-08-23 07:12:16 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-08-23 07:12:16 +0000 |
| commit | 5ef834d28d2c53b151bccafa1f97157af82d65b9 (patch) | |
| tree | 1531a036ef17ec9e0251278906fccce5f1efff23 /etc/netstart | |
| parent | 985c84c80e7b6ba7dd736a11499129ee71cc27a7 (diff) | |
Notes
Diffstat (limited to 'etc/netstart')
| -rwxr-xr-x | etc/netstart | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/netstart b/etc/netstart index eccc7ece136e..6ac2ac0ab604 100755 --- a/etc/netstart +++ b/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: netstart,v 1.32 1995/05/17 04:46:56 rgrimes Exp $ +# $Id: netstart,v 1.33 1995/06/25 09:35:56 asami Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -54,6 +54,11 @@ for i in ${static_routes}; do route add ${route_args} done +if [ "x$gateway" != "xNO ]; then + echo 'configuring host as a gateway.' + sysctl -w net.inet.ip.forwarding=1 +fi + if [ "x$gated" != "xNO" -o "x$routedflags" != "xNO" ] ; then echo -n starting routing daemons: |
