Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc/rc.d Build a list of cloning network interfaces to confi...
details: https://anonhg.NetBSD.org/src/rev/cedcf847ac48
branches: trunk
changeset: 495063:cedcf847ac48
user: thorpej <thorpej%NetBSD.org@localhost>
date: Thu Jul 20 19:43:10 2000 +0000
description:
Build a list of cloning network interfaces to configure, as well
as normal interfaces.
diffstat:
etc/rc.d/network | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r e0d619bcee38 -r cedcf847ac48 etc/rc.d/network
--- a/etc/rc.d/network Thu Jul 20 18:42:02 2000 +0000
+++ b/etc/rc.d/network Thu Jul 20 19:43:10 2000 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: network,v 1.14 2000/07/17 15:25:42 lukem Exp $
+# $NetBSD: network,v 1.15 2000/07/20 19:43:10 thorpej Exp $
#
# PROVIDE: network
@@ -91,6 +91,13 @@
if [ "$net_interfaces" != NO ]; then
if checkyesno auto_ifconfig; then
tmp="`ifconfig -l`"
+ 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"
+ done
+ done
else
tmp="$net_interfaces"
fi
Home |
Main Index |
Thread Index |
Old Index