diff options
Diffstat (limited to 'recipes-connectivity/hostapd/hostap-daemon-2.7/default')
-rw-r--r-- | recipes-connectivity/hostapd/hostap-daemon-2.7/default | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-connectivity/hostapd/hostap-daemon-2.7/default b/recipes-connectivity/hostapd/hostap-daemon-2.7/default new file mode 100644 index 0000000..a274de1 --- /dev/null +++ b/recipes-connectivity/hostapd/hostap-daemon-2.7/default @@ -0,0 +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} ]] || (ifdown wifi1;/opt/rs9113/onebox_util rpine0 create_vap ${DEV} ap;rfkill unblock all)" +POSTUP="ifup wifi1" |