From 4c47f8254b2a3d4619a74f344933b7c67eada26e Mon Sep 17 00:00:00 2001 From: Greg Bowler Date: Mon, 8 Jan 2018 23:54:04 +0000 Subject: [PATCH] Wait for internet --- boot | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/boot b/boot index 2081413..795d9dd 100755 --- a/boot +++ b/boot @@ -16,6 +16,12 @@ then sudo reboot fi +until /home/logbox/os/report-ip.bash +do + echo "Waiting for internet..." + sleep 1 +done + # TODO: Set up WiFi if config file exists. # Update all components