Make use of the right variable
This commit is contained in:
parent
0bb0c4aea7
commit
bc6217fa0f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue