diff options
author | Vyacheslav Pedash <vyacheslav.pedash@globallogic.com> | 2021-02-11 01:20:12 +0200 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2021-02-10 17:40:41 -0600 |
commit | 57cb15e9a612a89ebad57893c55b4dd83fded7ac (patch) | |
tree | d0997693b8883fc582b5841c8a46d8c71ec5c3d3 /recipes-connectivity/hostapd/files/default | |
parent | ef503574f1957b19dc94fdaee0213154757ea5e4 (diff) | |
download | meta-mlinux-57cb15e9a612a89ebad57893c55b4dd83fded7ac.tar.gz meta-mlinux-57cb15e9a612a89ebad57893c55b4dd83fded7ac.tar.bz2 meta-mlinux-57cb15e9a612a89ebad57893c55b4dd83fded7ac.zip |
MTX-3583 Update hostapd to v 2.9 from meta-openembedded
Diffstat (limited to 'recipes-connectivity/hostapd/files/default')
-rw-r--r-- | recipes-connectivity/hostapd/files/default | 8 |
1 files changed, 8 insertions, 0 deletions
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 |