1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

Merge pull request #651 from holta/iiab-startup

fix bash/comment syntax in iiab-startup.sh when hostapd_enabled = False
This commit is contained in:
A Holt 2018-01-11 13:52:59 -05:00 committed by GitHub
commit 1f1ce07cea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,10 +12,10 @@ 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 = False" /etc/iiab/iiab.ini)
$(grep "^hostapd_enabled = False" /etc/iiab/iiab.ini) ]];
#)
#)
]];
#]];
then
ip link set dev wlan0 promisc on
fi