From 8256a0b4a29e2da6cfd4e8d3f7db209e1db982b1 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 14 Jun 2020 22:31:03 +0200 Subject: [PATCH] ensure viirb has internet before updating pkg db --- setup-viirb.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup-viirb.sh b/setup-viirb.sh index 3e60825..d5337de 100755 --- a/setup-viirb.sh +++ b/setup-viirb.sh @@ -188,6 +188,10 @@ uci set network.lanv4temp.netmask='255.255.255.0' uci commit network /etc/init.d/network restart +# ensure internet is up and running +sleep 3 +ping -c5 ungleich.ch + # update the sources opkg update