From: Florian Fainelli Date: Sun, 2 Mar 2008 14:56:13 +0000 (+0000) Subject: Also call setup_switch on network restart X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=a5d53863caa5470921dff799e58760593b429ef0;p=15.05%2Fopenwrt.git Also call setup_switch on network restart git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10540 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 }