From: Felix Fietkau Date: Mon, 15 Mar 2010 14:02:49 +0000 (+0000) Subject: base-files: reload switch settings on /etc/init.d/network start as well X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3ab30b486f89cb6f538adabb0ca49c0a9ff91b8c;p=openwrt%2Fstaging%2Fneocturne.git base-files: reload switch settings on /etc/init.d/network start as well SVN-Revision: 20232 --- 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 +}