From 5f8e0eff4bc57c80577c2cc6692dcabb927623d6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 3 Nov 2011 20:02:52 +0000 Subject: netifd: start wifi at boot git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28738 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/netifd/files/etc/init.d/network | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/netifd/files/etc/init.d') 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() { -- cgit v1.2.3