summaryrefslogtreecommitdiff
path: root/recipes-connectivity/hostapd/hostap-daemon-2.7/default
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-03-07 11:59:27 -0600
committerJohn Klug <john.klug@multitech.com>2019-07-03 17:08:20 -0500
commit3232062360f5af30298b1d43da016ed369b43713 (patch)
tree6196256ca1fc70c5852c62c515c600ac57d879e0 /recipes-connectivity/hostapd/hostap-daemon-2.7/default
parent489abc179639be647b7e27a884c45faf12902162 (diff)
downloadmeta-mlinux-3232062360f5af30298b1d43da016ed369b43713.tar.gz
meta-mlinux-3232062360f5af30298b1d43da016ed369b43713.tar.bz2
meta-mlinux-3232062360f5af30298b1d43da016ed369b43713.zip
Update hostapd to latest
Diffstat (limited to 'recipes-connectivity/hostapd/hostap-daemon-2.7/default')
-rw-r--r--recipes-connectivity/hostapd/hostap-daemon-2.7/default6
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"