diff options
author | jhay <jhay@FreeBSD.org> | 1996-11-05 20:10:37 +0000 |
---|---|---|
committer | jhay <jhay@FreeBSD.org> | 1996-11-05 20:10:37 +0000 |
commit | 191022536ef840396cefc72b56a29fb77189fdaf (patch) | |
tree | d2fe6c15d54373e1f180b0126aec5e269588ab53 /etc/netstart | |
parent | 044dd6aa9d4302ec9944410b38ce13241141ba0f (diff) | |
download | FreeBSD-src-191022536ef840396cefc72b56a29fb77189fdaf.zip FreeBSD-src-191022536ef840396cefc72b56a29fb77189fdaf.tar.gz |
Add knobs for IPX.
2.2 candidate?
Diffstat (limited to 'etc/netstart')
-rwxr-xr-x | etc/netstart | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/etc/netstart b/etc/netstart index 99277d0..af5ebf6 100755 --- a/etc/netstart +++ b/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: netstart,v 1.44 1996/04/06 09:24:48 mpp Exp $ +# $Id: netstart,v 1.45 1996/10/27 06:30:43 peter Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -60,6 +60,11 @@ for ifn in ${network_interfaces}; do break; fi done + # Do ipx address if specified + eval ifconfig_args=\$ifconfig_${ifn}_ipx + if [ -n "${ifconfig_args}" ]; then + ifconfig ${ifn} ${ifconfig_args} + fi ifconfig ${ifn} done @@ -86,3 +91,13 @@ if [ "x$router" != "xNO" ] ; then echo -n " ${router}"; ${router} ${routerflags} echo '.' fi + +if [ "x$ipxgateway" != "xNO" ]; then + echo 'configuring host as an ipx gateway.' + sysctl -w net.ipx.ipx.ipxforwarding=1 >/dev/null 2>&1 +fi + +if [ "x$ipxrouted" != "xNO" ] ; then + echo -n "starting IPXrouted"; IPXrouted ${ipxrouted} + echo '.' +fi |