From 735bee1d2fbcef9a35083bd1bae8e64fb542087c Mon Sep 17 00:00:00 2001 From: John Klug Date: Tue, 28 Aug 2018 10:05:40 -0500 Subject: Add stuff to bring up hostapd device --- recipes-connectivity/hostapd/hostap-daemon-2.6/default | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'recipes-connectivity/hostapd/hostap-daemon-2.6/default') diff --git a/recipes-connectivity/hostapd/hostap-daemon-2.6/default b/recipes-connectivity/hostapd/hostap-daemon-2.6/default index 0923a8c..afc965d 100644 --- a/recipes-connectivity/hostapd/hostap-daemon-2.6/default +++ b/recipes-connectivity/hostapd/hostap-daemon-2.6/default @@ -1,2 +1,6 @@ # set to "yes" to start hostapd on boot START_ON_BOOT="no" +# Stuff to creat the device if needed. +DEV=wifi1 +PREUP="[[ -d /sys/class/net/${DEV} ]] || /opt/rs9113/onebox_util rpine0 create_vap ${DEV} ap" +POSTUP="ifup wifi1" -- cgit v1.2.3