From bc6217fa0f32d2809328768bd84b27414e12a4a2 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 8 Oct 2020 11:52:31 +0200 Subject: [PATCH] Make use of the right variable --- viirb-1-connect-flash-latest-openwrt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viirb-1-connect-flash-latest-openwrt.sh b/viirb-1-connect-flash-latest-openwrt.sh index 1c69e93..4733acb 100755 --- a/viirb-1-connect-flash-latest-openwrt.sh +++ b/viirb-1-connect-flash-latest-openwrt.sh @@ -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