Browse Source

Also call setup_switch on network restart

SVN-Revision: 10540
Florian Fainelli 18 years ago
parent
commit
62b0af39c7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/base-files/files/etc/init.d/network

+ 1 - 0
package/base-files/files/etc/init.d/network

@@ -20,6 +20,7 @@ start() {
 }
 
 restart() {
+	setup_switch()
 	ifup -a
 	/sbin/wifi up
 }