fix error output of brctl if bridging is not supported.
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 14 Mar 2010 21:10:07 +0000 (21:10 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 14 Mar 2010 21:10:07 +0000 (21:10 +0000)
commit176d390d98f9aeb1b86f85c2e864fc30c441fe1c
tree6152763758c48cd3923d82e5f3093ee8c5f867a6
parent46f715372de43766812d086662c70c0b23994a92
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20218 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/base-files/files/lib/network/config.sh
This page took 0.024574 seconds and 4 git commands to generate.