From: Felix Fietkau Date: Thu, 3 Nov 2011 20:02:52 +0000 (+0000) Subject: netifd: start wifi at boot X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d4d91df5fe7340f14824c5de815de01416af67f2;p=openwrt%2Fstaging%2Fjow.git netifd: start wifi at boot SVN-Revision: 28738 --- diff --git a/package/netifd/files/etc/init.d/network b/package/netifd/files/etc/init.d/network index d7d87350ef..455bf411b1 100755 --- a/package/netifd/files/etc/init.d/network +++ b/package/netifd/files/etc/init.d/network @@ -9,6 +9,10 @@ start() { setup_switch ubus call network reload + + grep -qs config /etc/config/wireless && { + /sbin/wifi up + } } restart() {