ensure viirb has internet before updating pkg db
This commit is contained in:
parent
9b57f031ce
commit
8256a0b4a2
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue