diff --git a/etc/rc.d/network b/etc/rc.d/network index a7dd7e3db445..251aa87730e9 100755 --- a/etc/rc.d/network +++ b/etc/rc.d/network @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: network,v 1.20 2000/10/09 05:02:14 nisimura Exp $ +# $NetBSD: network,v 1.21 2000/11/17 04:19:06 lukem Exp $ # # PROVIDE: network @@ -94,8 +94,7 @@ network_start() for cloner in `ifconfig -C 2>/dev/null`; do for int \ in `/bin/ls /etc/ifconfig.${cloner}[0-9]* 2>/dev/null`; do - int=`IFS='.'; set -- $int; echo $2` - tmp="$tmp $int" + tmp="$tmp ${int##*.}" done done else @@ -333,7 +332,7 @@ network_stop() done < /etc/ifaliases fi - for int in $configured_interfaces; do + for int in `ifconfig -lu`; do eval args=\$ifaliases_$int if [ -n "$args" ]; then set -- $args