aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-03-15 14:02:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-03-15 14:02:49 +0000
commit99acdb0a76e4b7a5fda7956bc942ab4ed2201195 (patch)
tree0f943feabb59d0decf8aede27211137844a07674 /package
parentaa755504fcdc9193992f1af5ceb1feb6962db2ab (diff)
downloadupstream-99acdb0a76e4b7a5fda7956bc942ab4ed2201195.tar.gz
upstream-99acdb0a76e4b7a5fda7956bc942ab4ed2201195.tar.bz2
upstream-99acdb0a76e4b7a5fda7956bc942ab4ed2201195.zip
base-files: reload switch settings on /etc/init.d/network start as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20232 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-xpackage/base-files/files/etc/init.d/network9
1 files changed, 4 insertions, 5 deletions
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
+}