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

From @holta user facing feedback

Co-authored-by: A Holt <holta@users.noreply.github.com>
This commit is contained in:
Jerry Vonau 2022-05-19 15:11:58 -05:00 committed by GitHub
parent 7c72b2f983
commit 35750850ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,9 @@
#!/bin/bash
{% if not can_be_ap %}
AP support was not detected please see https://github.com/iiab/iiab/pull/3179
echo -e "\nUH-OH: Your Wi-Fi firmware doesn't support AP mode, according to 'iw list'\n"
echo -e "If you add Wi-Fi hardware, run 'cd /opt/iiab/iiab' then 'sudo ./iiab-network'\n"
echo -e "For details, see: https://github.com/iiab/iiab/pull/3179\n"
exit 1
{% else %}
sed -i -e "s/^HOSTAPD_ENABLED.*/HOSTAPD_ENABLED=True/" {{ iiab_env_file }}
{% if wifi_up_down %}