aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpackage/base-files/files/etc/init.d/network9
1 files changed, 4 insertions, 5 deletions
diff --git a/package/base-files/files/etc/init.d/network b/package/base-files/files/etc/init.d/network
index 74478c7317..3587c24aaa 100755
--- a/package/base-files/files/etc/init.d/network
+++ b/package/base-files/files/etc/init.d/network
@@ -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
+}