fix error output of brctl if bridging is not supported.
authorFelix Fietkau <nbd@openwrt.org>
Sun, 14 Mar 2010 21:10:07 +0000 (21:10 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 14 Mar 2010 21:10:07 +0000 (21:10 +0000)
commit73f61a64eba854ea115feecbed97c0a35907d914
tree1b991baf996fab8712a125e02650c8c040ed8bc6
parentd58bf6adba59dc0b58bd3baa44472639c9f43631
fix error output of brctl if bridging is not supported.

The following error is displayed during network configuration on any device that has DEVICE_TYPE set to something else then router, or has brctl functionality disabled through some other method:

"brctl: SIOCGIFBR: Package not installed"

This is due to the unbridge function being called, which uses "brctl show" to determine if the interface is bridged.

Signed-off-by: Ithamar R. Adema <ithamar.adema@team-embedded.nl>
SVN-Revision: 20218
package/base-files/files/lib/network/config.sh