mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 22:12:43 +00:00
Add knobs for IPX.
2.2 candidate?
This commit is contained in:
parent
01961df54d
commit
f4fb1da19f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=19433
17
etc/netstart
17
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
|
||||
|
@ -4,7 +4,7 @@
|
||||
# This is sysconfig - a file full of useful variables that you can set
|
||||
# to change the default startup behavior of your system.
|
||||
#
|
||||
# $Id: sysconfig,v 1.51 1996/10/21 20:09:27 wpaul Exp $
|
||||
# $Id: sysconfig,v 1.52 1996/10/27 06:30:38 peter Exp $
|
||||
|
||||
######################### Start Of Local Configuration Section ###########
|
||||
|
||||
@ -107,7 +107,9 @@ weak_mountd_authentication=NO
|
||||
#
|
||||
# Set to the list of network devices on this host. You must have an
|
||||
# ifconfig_${network_interface} line for each interface listed here.
|
||||
# Extra addresses may be specified with sequentual _alias<N> lines.
|
||||
# Extra addresses may be specified with sequentual _alias<N> lines. IPX
|
||||
# addresses may be specified with an ifconfig_${network_interface}_ipx
|
||||
# line.
|
||||
#
|
||||
# for example:
|
||||
#
|
||||
@ -118,6 +120,7 @@ weak_mountd_authentication=NO
|
||||
# ifconfig_lo0="inet localhost"
|
||||
# ifconfig_ed0_alias0="inet 10.0.2.1 netmask 0xffffff00"
|
||||
# ifconfig_ed0_alias1="inet 10.0.2.2 netmask 0xffffffff"
|
||||
# ifconfig_ed0_ipx="ipx 0x1234"
|
||||
#
|
||||
# Alternatively, /etc/start_if.${network_interface} is run if it exists.
|
||||
# This script can be used as an alternative to the ifconfig_<xxx> lines.
|
||||
@ -153,6 +156,15 @@ routerflags=-q
|
||||
# options enabled before it will work.
|
||||
mrouted=NO
|
||||
|
||||
# YES will switch routing on in the kernel. You need to switch this on
|
||||
# if this machine has to act as a IPX router. You need to build a
|
||||
# kernel with IPX support for this to work.
|
||||
ipxgateway=NO
|
||||
|
||||
# IPXrouted flags. NO if you don't want to start it. Do "man IPXrouted"
|
||||
# to get more information on the flags.
|
||||
ipxrouted=NO
|
||||
|
||||
# timed flags, or NO if you don't want to start the time daemon
|
||||
timedflags=NO
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user