Also call setup_switch on network restart
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 2 Mar 2008 14:56:13 +0000 (14:56 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 2 Mar 2008 14:56:13 +0000 (14:56 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10540 3c298f89-4303-0410-b956-a3cf2f4a3e73

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
 }