mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-02-09 13:23:01 +01:00
iup: delay iup224 untill dns is reacheable refs #9073
This commit is contained in:
parent
e0be33b76a
commit
c32ced2cfe
1 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
. /usr/share/libubox/jshn.sh
|
||||
. /lib/network/config.sh
|
||||
|
||||
if [ -z $1 ] ; then
|
||||
echo "No argument"
|
||||
|
|
@ -67,6 +68,7 @@ if [ $url ] && [ $active -eq 1 ]; then
|
|||
fi
|
||||
if [ "$softwareminuspath" == "${softwareminuspath/$firmware1/}" -o "$softwareminuspath" == "${softwareminuspath/$firmware2/}" ] ; then
|
||||
echo "Image found $url will start flashing"
|
||||
wait_for_dns $url
|
||||
/sbin/sysupgrade -v $url &
|
||||
exit 1
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue