From 00394c57717f28bb3b9860020729cd73036a8cf8 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 24 Aug 2006 13:46:47 +0000 Subject: revert to using *_ifnames internally, too many problems with firewall, ppp, etc. otherwise git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4653 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/default/sbin/ifup | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'package/base-files/default/sbin') diff --git a/package/base-files/default/sbin/ifup b/package/base-files/default/sbin/ifup index 86d10d7ca..c7055d480 100755 --- a/package/base-files/default/sbin/ifup +++ b/package/base-files/default/sbin/ifup @@ -4,7 +4,10 @@ . /sbin/ifdown "$@" config_get iftype "$1" type -config_get ifname "$1" ifname +case "$iftype" in + bridge) config_get ifname "$1" ifnames;; + *) config_get ifname "$1" ifname;; +esac for dev in $ifname; do setup_interface "$dev" "$1" -- cgit v1.2.3