mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
check value/existence of HOSTAPD_ENABLED in iiab.env
This commit is contained in:
parent
1396704aff
commit
5b671e2a46
1 changed files with 2 additions and 2 deletions
|
@ -15,9 +15,9 @@ fi
|
|||
if [[ $(grep -i raspbian /etc/*release) &&
|
||||
#($(grep "hostapd_enabled = False" /etc/iiab/config_vars.yml) ||
|
||||
#((! $(grep "hostapd_enabled = True" /etc/iiab/config_vars.yml)) &&
|
||||
! $(grep "^hostapd_enabled = True" /etc/iiab/iiab.ini) ]];
|
||||
! $(grep "^HOSTAPD_ENABLED=True" /etc/iiab/iiab.env) ]];
|
||||
# NEGATED LOGIC HELPS FORCE PROMISCUOUS MODE EARLY IN INSTALL
|
||||
# (when computed_network.yml has not yet populated iiab.ini)
|
||||
# (when network/tasks/main.yml hasn't yet populated iiab.env)
|
||||
|
||||
# RESULT: WiFi-installed IIAB should have wlan0 properly in
|
||||
# promiscuous mode Even On Reboots (if 2-common completed!)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue