brcm47xx: get switch name from swconfig first
authorHauke Mehrtens <hauke@openwrt.org>
Sat, 5 Jul 2014 12:15:03 +0000 (12:15 +0000)
committerHauke Mehrtens <hauke@openwrt.org>
Sat, 5 Jul 2014 12:15:03 +0000 (12:15 +0000)
commit8b171622cd25e15f5015c29f4a8da49e9dab4249
tree56265b8e2fdc01d6b256c7eac16c8e5a60876046
parentfd84efb1699892f5a2e0b545e3b12bbe66dd9a08
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