[package] switch: the hardware must be up while configuring
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 13 Mar 2012 21:15:41 +0000 (21:15 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 13 Mar 2012 21:15:41 +0000 (21:15 +0000)
commit24f8f163908184ccdcfe968681cc9eba86c058a4
treecee02d710f976a8dcec99d97dded7315ec1bcca5
parent5f4d8411d39f37b1ed16a4c5cbdbe5ee67323cfc
[package] switch: the hardware must be up while configuring
Since the removal of the interface coldplug hack the timing changed in such a way that eth0 is not up during switch setup,
leading to an inaccesible device. Bring up the switch interface before configuring it to mitigate the problem.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30937 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/switch/Makefile
package/switch/files/switch.sh