diff options
author | jkh <jkh@FreeBSD.org> | 1996-02-11 04:07:27 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-02-11 04:07:27 +0000 |
commit | e4001e9370a10047106b3592454caecebc77b71b (patch) | |
tree | 1575d0be880a2e8450f99ae444917301e9650cd9 /etc/netstart | |
parent | 7d8fc2aa85b9c418ba3d932062ac4632a31420b9 (diff) | |
download | FreeBSD-src-e4001e9370a10047106b3592454caecebc77b71b.zip FreeBSD-src-e4001e9370a10047106b3592454caecebc77b71b.tar.gz |
Remove my previous bogus comment about the relationship between the
static_routes and defaultrouter variables. I'm glad I looked again, however,
as I realized that setting static_routes to NO in the case of a defaultrouter
would wind up with a bogus value for static_routes. It doesn't really
hurt anything, but it's still wrong so I fixed it. I think this whole routing
section of sysconfig needs a revisit - it's getting gross!
Diffstat (limited to 'etc/netstart')
-rwxr-xr-x | etc/netstart | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/netstart b/etc/netstart index b0a4a5a..9cdc135 100755 --- a/etc/netstart +++ b/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: netstart,v 1.40 1996/01/31 15:02:24 mpp Exp $ +# $Id: netstart,v 1.41 1996/02/09 12:45:37 jkh Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -49,7 +49,7 @@ if [ -n "$defaultrouter" -a "x$defaultrouter" != "xNO" ] ; then fi # Set up any static routes. This should be done before router discovery. -if [ "x${static_routes}" != "xNO" ]; then +if [ "x${static_routes}" != "x" ]; then for i in ${static_routes}; do eval route_args=\$route_${i} route add ${route_args} |