Skip to content

Commit

Permalink
shorten time to restart comitup
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 8, 2024
1 parent 31cadc8 commit c3b6477
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 @@ -156,7 +156,7 @@ if ! running_in_docker && tryUntil "ping -c1 8.8.8.8 &> /dev/null || curl --sile

if [[ "$hotSpot" == "enable" ]] && ! [[ -x $(command -v comitup) ]]; then
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
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 5
systemctl restart comitup
echo "OK"
fi
Expand Down

0 comments on commit c3b6477

Please sign in to comment.