summaryrefslogtreecommitdiff
path: root/recipes-connectivity/hostapd/files/default
blob: 8f3287d4f5298783a8f7d4024ae96589d1d8d8e4 (plain)
1
2
3
4
5
6
7
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