netoptions (48662) | netoptions (48687) |
---|---|
1#!/bin/sh - 2# | 1#!/bin/sh - 2# |
3# $Id: rc.network,v 1.47 1999/06/08 13:00:30 brian Exp $ | 3# $Id: rc.network,v 1.48 1999/07/07 12:49:45 peter Exp $ |
4# From: @(#)netstart 5.9 (Berkeley) 3/30/91 5 6# Note that almost all the user-configurable behavior is no longer in 7# this file, but rather in /etc/rc.conf. Please check that file 8# first before contemplating any changes here. If you do need to change 9# this file for some reason, we would like to know about it. 10 11# First pass startup stuff. --- 34 unchanged lines hidden (view full) --- 46 # The auth secrets might contain spaces; in order 47 # to retain the quotation, we need to eval them 48 # here. 49 eval spppcontrol ${ifn} ${spppcontrol_args} 50 fi 51 done 52 53 # Set up all the network interfaces, calling startup scripts if needed | 4# From: @(#)netstart 5.9 (Berkeley) 3/30/91 5 6# Note that almost all the user-configurable behavior is no longer in 7# this file, but rather in /etc/rc.conf. Please check that file 8# first before contemplating any changes here. If you do need to change 9# this file for some reason, we would like to know about it. 10 11# First pass startup stuff. --- 34 unchanged lines hidden (view full) --- 46 # The auth secrets might contain spaces; in order 47 # to retain the quotation, we need to eval them 48 # here. 49 eval spppcontrol ${ifn} ${spppcontrol_args} 50 fi 51 done 52 53 # Set up all the network interfaces, calling startup scripts if needed |
54 interfaces="`ifconfig -l`" 55 for ifn in ${interfaces}; do | 54 if [ "x${network_interfaces}" = "xauto" ]; then 55 network_interfaces="`ifconfig -l`" 56 fi 57 for ifn in ${network_interfaces}; do |
56 showstat=false 57 if [ -e /etc/start_if.${ifn} ]; then 58 . /etc/start_if.${ifn} 59 showstat=true 60 fi 61 # Do the primary ifconfig if specified 62 eval ifconfig_args=\$ifconfig_${ifn} 63 if [ -n "${ifconfig_args}" ] ; then --- 294 unchanged lines hidden --- | 58 showstat=false 59 if [ -e /etc/start_if.${ifn} ]; then 60 . /etc/start_if.${ifn} 61 showstat=true 62 fi 63 # Do the primary ifconfig if specified 64 eval ifconfig_args=\$ifconfig_${ifn} 65 if [ -n "${ifconfig_args}" ] ; then --- 294 unchanged lines hidden --- |