brcm47xx: get switch name from swconfig first
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 5 Jul 2014 12:15:03 +0000 (12:15 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 5 Jul 2014 12:15:03 +0000 (12:15 +0000)
commit61d8a784c341235c2008958ac3e82d91b12d5667
tree56265b8e2fdc01d6b256c7eac16c8e5a60876046
parent2a1bff582bcc94b0916695cfe95347a98515f826
brcm47xx: get switch name from swconfig first

Without this patch the switch config for the adm switch did not worked,
because hey are not names eth0.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41512 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/brcm47xx/base-files/etc/init.d/netconfig