Skip to content

Commit

Permalink
fix installing hotspot when no inet
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Storm <markus.storm@gmx.net>
  • Loading branch information
mstormi committed Apr 7, 2024
1 parent 5714aa4 commit 64201c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-image/first-boot.bash
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ if ! running_in_docker && tryUntil "ping -c1 8.8.8.8 &> /dev/null || curl --sile
echo "FAILED"

if [[ "$hotSpot" == "enable" ]] && ! [[ -x $(command -v comitup) ]]; then
setup_hotspot
setup_hotspot install
tryUntil "ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs 'HTTP/1.1 200 OK'" 3 30
systemctl restart comitup
echo "OK"
Expand Down

0 comments on commit 64201c3

Please sign in to comment.