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 2a116664e4c58f8b69faf847d5c6cef2e9cdf6c1..ef415957cc9a1a4595eef29405ed3d4a770f703f 100755 (executable)
@@ -20,6 +20,7 @@ start() {
 }
 
 restart() {
+       setup_switch()
        ifup -a
        /sbin/wifi up
 }