Also call setup_switch on network restart
authorFlorian Fainelli <florian@openwrt.org>
Sun, 2 Mar 2008 14:56:13 +0000 (14:56 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 2 Mar 2008 14:56:13 +0000 (14:56 +0000)
SVN-Revision: 10540

package/base-files/files/etc/init.d/network

index 2a11666..ef41595 100755 (executable)
@@ -20,6 +20,7 @@ start() {
 }
 
 restart() {
+       setup_switch()
        ifup -a
        /sbin/wifi up
 }