summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/init.d/network
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-03-02 14:56:13 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-03-02 14:56:13 +0000
commit62b0af39c7cf9ef8e39b110457d2bfaf7cdd0a5f (patch)
tree04e5dde24e8a6ed7afb99261fae5bd5397a817c1 /package/base-files/files/etc/init.d/network
parentd65241e13bfe51685616774bbd49fb9498d7c035 (diff)
downloadmtk-20170518-62b0af39c7cf9ef8e39b110457d2bfaf7cdd0a5f.zip
mtk-20170518-62b0af39c7cf9ef8e39b110457d2bfaf7cdd0a5f.tar.gz
mtk-20170518-62b0af39c7cf9ef8e39b110457d2bfaf7cdd0a5f.tar.bz2
Also call setup_switch on network restart
SVN-Revision: 10540
Diffstat (limited to 'package/base-files/files/etc/init.d/network')
-rwxr-xr-xpackage/base-files/files/etc/init.d/network1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/etc/init.d/network b/package/base-files/files/etc/init.d/network
index 2a11666..ef41595 100755
--- a/package/base-files/files/etc/init.d/network
+++ b/package/base-files/files/etc/init.d/network
@@ -20,6 +20,7 @@ start() {
}
restart() {
+ setup_switch()
ifup -a
/sbin/wifi up
}