diff options
author | phk <phk@FreeBSD.org> | 1998-10-06 19:24:31 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1998-10-06 19:24:31 +0000 |
commit | b876394ab200eade9ffb65151afe135c80ca4370 (patch) | |
tree | 228ce8b47fbe9cf516dc93d5d4decc6921941a01 /etc/rc.network | |
parent | 28bef97c3eada8f5d78d30f575213106f74e2ad2 (diff) | |
download | FreeBSD-src-b876394ab200eade9ffb65151afe135c80ca4370.zip FreeBSD-src-b876394ab200eade9ffb65151afe135c80ca4370.tar.gz |
Here are some scripts and man pages for configuring HARP ATM
interfaces.
Reviewed by: phk
Submitted by: Mike Spengler <mks@networkcs.com>
Diffstat (limited to 'etc/rc.network')
-rw-r--r-- | etc/rc.network | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/etc/rc.network b/etc/rc.network index a6412a8..cf9ff66 100644 --- a/etc/rc.network +++ b/etc/rc.network @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.network,v 1.31 1998/09/15 10:49:02 jkoshy Exp $ +# $Id: rc.network,v 1.32 1998/09/16 20:38:23 cracauer Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -25,6 +25,12 @@ network_pass1() { fi echo '.' + # Initial ATM interface configuration + if [ "X${atm_enable}" = X"YES" -a -f /etc/rc.atm ]; then + . /etc/rc.atm + atm_pass1 + fi + # Set up all the network interfaces, calling startup scripts if needed for ifn in ${network_interfaces}; do if [ -e /etc/start_if.${ifn} ]; then @@ -89,6 +95,11 @@ network_pass1() { fi fi + # Additional ATM interface configuration + if [ -n "${atm_pass1_done}" ]; then + atm_pass2 + fi + # Configure routing if [ "x$defaultrouter" != "xNO" ] ; then @@ -215,6 +226,11 @@ network_pass2() { echo -n ' rpc.ypupdated'; rpc.ypupdated fi + # Start ATM daemons + if [ -n "${atm_pass2_done}" ]; then + atm_pass3 + fi + echo '.' network_pass2_done=YES } |