summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/init.d/network
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-03-02 14:56:13 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-03-02 14:56:13 +0000
commitbad699e8c2dcf2e8ca61c8e4167c9ad53974e8be (patch)
tree3f77e75fccf430c4c44d329b950132ce50fa1b75 /package/base-files/files/etc/init.d/network
parentb3f2bc9aaca1ccd16cfbf5ca78e137c419931a7b (diff)
Also call setup_switch on network restart
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10540 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 2a116664e..ef415957c 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
}