Skip to content

Commit

Permalink
Update first-boot.bash
Browse files Browse the repository at this point in the history
  • Loading branch information
mstormi committed May 3, 2023
1 parent 986ec5e commit bb970bf
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 @@ -84,7 +84,7 @@ if [[ -z $wifi_ssid ]]; then
echo -n "$(timestamp) [openHABian] Setting up Ethernet connection... "
if grep -qs "up" /sys/class/net/eth0/operstate; then echo "OK"; else echo "FAILED"; fi

if ! running_in_docker && tryUntil "ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs 'HTTP/1.1 200 OK'" 5 1; then
if ! running_in_docker && tryUntil "ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs/ |& grep -qs 'HTTP/[^ ]*[ ]200'" 5 1; then
if [[ "$hotspot" == "enable" ]] && ! [[ -x $(command -v comitup) ]]; then
echo -n "$(timestamp) [openHABian] Installing comitup hotspot (will reboot after)... "
setup_hotspot "install"
Expand Down

0 comments on commit bb970bf

Please sign in to comment.