base-files: reload switch settings on /etc/init.d/network start as well
authorFelix Fietkau <nbd@openwrt.org>
Mon, 15 Mar 2010 14:02:49 +0000 (14:02 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 15 Mar 2010 14:02:49 +0000 (14:02 +0000)
SVN-Revision: 20232

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

index 74478c7317ca9c37a7c8f95559630a884a865f40..3587c24aaa87e50cd46ab158f39c9e2f99d5e6c9 100755 (executable)
@@ -15,11 +15,6 @@ boot() {
 }
 
 start() {
-       ifup -a
-       /sbin/wifi up
-}
-
-restart() {
        setup_switch() { return 0; }
        
        include /lib/network
@@ -31,3 +26,7 @@ restart() {
 stop() {
        ifdown -a
 }
+
+restart() {
+       start
+}