Make use of the right variable

This commit is contained in:
Nico Schottelius 2020-10-08 11:52:31 +02:00
parent 0bb0c4aea7
commit bc6217fa0f

View file

@ -53,7 +53,7 @@ else
scp_ip="$viirb_ip"
fi
scp ${filename} root@${viirb_ip}:/tmp
scp ${filename} root@${scp_ip}:/tmp
ssh root@${viirb_ip} "sysupgrade /tmp/*.bin"
# It still pings for some time - wait for the reboot to happen