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
commita5d53863caa5470921dff799e58760593b429ef0 (patch)
tree3f77e75fccf430c4c44d329b950132ce50fa1b75 /package/base-files
parent9cae1e48f52e807ccb06fa28c256bbb0422d1ea4 (diff)
downloadmaster-187ad058-a5d53863caa5470921dff799e58760593b429ef0.tar.gz
master-187ad058-a5d53863caa5470921dff799e58760593b429ef0.tar.bz2
master-187ad058-a5d53863caa5470921dff799e58760593b429ef0.zip
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')
-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
}