From 6e3fb9dc77a21ac67d7ea90d0cf66a2dac84feff Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 15 Mar 2010 14:02:49 +0000 Subject: 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 --- package/base-files/files/etc/init.d/network | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'package/base-files/files') 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 +} -- cgit v1.2.3