aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
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
parentd65241e13bfe51685616774bbd49fb9498d7c035 (diff)
downloadupstream-62b0af39c7cf9ef8e39b110457d2bfaf7cdd0a5f.tar.gz
upstream-62b0af39c7cf9ef8e39b110457d2bfaf7cdd0a5f.tar.bz2
upstream-62b0af39c7cf9ef8e39b110457d2bfaf7cdd0a5f.zip
Also call setup_switch on network restart
SVN-Revision: 10540
Diffstat (limited to 'package/base-files')
-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 2a116664e4..ef415957cc 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
}