Back out last commit; bug was fixed in 1.37, but differently.

This commit is contained in:
cjs 1997-05-22 21:41:09 +00:00
parent ab82fdc6b5
commit 4112a161ec
1 changed files with 4 additions and 9 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $NetBSD: netstart,v 1.38 1997/05/22 21:29:49 cjs Exp $ # $NetBSD: netstart,v 1.39 1997/05/22 21:41:09 cjs Exp $
# from: @(#)netstart 8.1 (Berkeley) 7/23/93 # from: @(#)netstart 8.1 (Berkeley) 7/23/93
if [ -f /etc/rc.conf ]; then if [ -f /etc/rc.conf ]; then
@ -53,18 +53,15 @@ if [ "$net_interfaces" != NO ]; then
fi fi
echo -n 'configuring network interfaces:' echo -n 'configuring network interfaces:'
for int in $tmp; do for int in $tmp; do
didconfig=""
eval `echo 'args=$ifconfig_'$int` eval `echo 'args=$ifconfig_'$int`
if [ -n "$args" ]; then if [ -n "$args" ]; then
echo -n " $int" echo -n " $int"
ifconfig $int $args ifconfig $int $args
didconfig=yes
elif [ -f /etc/ifconfig.$int ]; then elif [ -f /etc/ifconfig.$int ]; then
echo -n " $int" echo -n " $int"
(while read args; do (while read args; do
ifconfig $int $args ifconfig $int $args
done) < /etc/ifconfig.$int done) < /etc/ifconfig.$int
didconfig=yes
else else
if [ "$net_interfaces" != DEFAULT ]; then if [ "$net_interfaces" != DEFAULT ]; then
echo echo
@ -74,12 +71,10 @@ if [ "$net_interfaces" != NO ]; then
fi fi
continue continue
fi fi
if [ -s "$didconfig" ]; then if [ "$int" = "lo0" ]; then
if [ "$int" = "lo0" ]; then configured_lo0=yes
configured_lo0=yes
fi
configured_interfaces="$configured_interfaces $int"
fi fi
configured_interfaces="$configured_interfaces $int"
done done
echo '.' echo '.'
fi fi