From 57cb15e9a612a89ebad57893c55b4dd83fded7ac Mon Sep 17 00:00:00 2001 From: Vyacheslav Pedash Date: Thu, 11 Feb 2021 01:20:12 +0200 Subject: MTX-3583 Update hostapd to v 2.9 from meta-openembedded --- recipes-connectivity/hostapd/files/default | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 recipes-connectivity/hostapd/files/default (limited to 'recipes-connectivity/hostapd/files/default') diff --git a/recipes-connectivity/hostapd/files/default b/recipes-connectivity/hostapd/files/default new file mode 100644 index 0000000..8f3287d --- /dev/null +++ b/recipes-connectivity/hostapd/files/default @@ -0,0 +1,8 @@ +# set to "yes" to start hostapd on boot +START_ON_BOOT="no" +# Stuff to creat the device if needed. +DEV=wifi1 +if [[ -x /opt/rs9113/onebox_util ]] ; then + PREUP="[[ -d /sys/class/net/${DEV} ]] || (ifdown ${DEV};/opt/rs9113/onebox_util rpine0 create_vap ${DEV} ap;rfkill unblock all)" + POSTUP="ifup ${DEV}" +fi -- cgit v1.2.3