1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

backslash not needed (in bash conditional)

This commit is contained in:
A Holt 2018-01-11 13:51:22 -05:00 committed by GitHub
parent 7ce1278d7b
commit 1178c452a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ fi
# Set wlan0 to promiscuous on boot if needed as gateway (i.e. AP's OFF)
# Scripts iiab-hotspot-on + iiab-hotspot-off SHOULD toggle this boot flag!
# 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 = True" /etc/iiab/config_vars.yml)) &&
$(grep "^hostapd_enabled = False" /etc/iiab/iiab.ini) ]];