mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
commit
bc08147956
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@
|
||||||
# hostapd_enabled: True
|
# hostapd_enabled: True
|
||||||
# Above set in /opt/iiab/iiab/vars/default_vars.yml
|
# Above set in /opt/iiab/iiab/vars/default_vars.yml
|
||||||
|
|
||||||
hostapd_wait: 5
|
hostapd_wait: 10
|
||||||
host_wireless_n: False
|
host_wireless_n: False
|
||||||
driver_name: nl80211
|
driver_name: nl80211
|
||||||
ap0_mac_addr: b8:27:99:12:34:56
|
ap0_mac_addr: b8:27:99:12:34:56
|
||||||
|
|
|
@ -26,7 +26,7 @@ if [ "$interface" = "wlan0" ]; then
|
||||||
fi
|
fi
|
||||||
# spams the logging
|
# spams the logging
|
||||||
#syslog info "50-iiab set ap0 spam $REASON"
|
#syslog info "50-iiab set ap0 spam $REASON"
|
||||||
if [ -e /sys/class/net/ap0 ] && [ "$reason" = "BOUND" ]; then
|
if [ -e /sys/class/net/ap0 ] && ([ "$reason" = "CARRIER" ] || [ "$reason" = "NOCARRIER" ] || [ "$reason" = "BOUND" ]); then
|
||||||
syslog info "50-iiab set ap0 up $REASON"
|
syslog info "50-iiab set ap0 up $REASON"
|
||||||
# keeps ap0 up so hostapd works
|
# keeps ap0 up so hostapd works
|
||||||
ip link set ap0 up
|
ip link set ap0 up
|
||||||
|
|
Loading…
Add table
Reference in a new issue