ensure viirb has internet before updating pkg db

This commit is contained in:
Nico Schottelius 2020-06-14 22:31:03 +02:00
parent 9b57f031ce
commit 8256a0b4a2
1 changed files with 4 additions and 0 deletions

View File

@ -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