mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Ignore /etc/iiab/config_vars.yml for now (too complex; TBD w/ Admin Console)
This commit is contained in:
parent
e61b3bd03d
commit
12b02ae991
1 changed files with 4 additions and 4 deletions
|
@ -10,11 +10,11 @@ fi
|
||||||
# Scripts iiab-hotspot-on + iiab-hotspot-off SHOULD toggle this boot flag!
|
# Scripts iiab-hotspot-on + iiab-hotspot-off SHOULD toggle this boot flag!
|
||||||
# https://github.com/iiab/iiab/issues/638#issuecomment-355455454
|
# https://github.com/iiab/iiab/issues/638#issuecomment-355455454
|
||||||
if [[ $(grep -i raspbian /etc/*release) &&
|
if [[ $(grep -i raspbian /etc/*release) &&
|
||||||
($(grep "hostapd_enabled = False" /etc/iiab/config_vars.yml) ||
|
#($(grep "hostapd_enabled = False" /etc/iiab/config_vars.yml) ||
|
||||||
((! $(grep "hostapd_enabled = True" /etc/iiab/config_vars.yml)) &&
|
#((! $(grep "hostapd_enabled = True" /etc/iiab/config_vars.yml)) &&
|
||||||
$(grep "hostapd_enabled = False" /etc/iiab/iiab.ini)
|
$(grep "hostapd_enabled = False" /etc/iiab/iiab.ini)
|
||||||
)
|
#)
|
||||||
)
|
#)
|
||||||
]];
|
]];
|
||||||
then
|
then
|
||||||
ip link set dev wlan0 promisc on
|
ip link set dev wlan0 promisc on
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue