[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)
commitbd35c330390215f2a66435dfb8b07043fa8f2c93
treecee02d710f976a8dcec99d97dded7315ec1bcca5
parent26fb197a3e9b08727e6d8058b4a7d48eec917352
[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.

SVN-Revision: 30937
package/switch/Makefile
package/switch/files/switch.sh