WinSCP and busybox reboot command
Using WinSCP to upload a file then reboot the device
C:\Program Files\WinSCP>WinSCP.com /privatekey=C:\Users\willl\Desktop\synergy-ss
h2.ppk /nointeractiveinput /command "option batch abort" "option confirm off" "o
pen ""scp://dropbear@192.168.1.110:/Arm/Synergy/" "call /Arm/busybox1.19 killall
init.sh 2>&1" "put ""C:\Users\willl\Desktop\SynergyDemo" "call /Arm/busybox1.19
reboot -nfd 10 2>&1" "close" "exit"
When I run the "call /Arm/busybox1.19 reboot -nfd 10 2>&1"
It doesn't then close the connection with the "close" it instead waits and then I get the
Host is not communicating for more than 15 seconds. Still waiting...
Note: If the problem repeats, try turning off 'Optimize connection buffer size'.
Warning: Aborting this operation will close connection!
(A)bort (0 s): Abort
Two Questions
1) If i have the option batch abort option confirm off and /nointeractiveinput why and I getting this message shouldn't it just abort the connection
2) How can I run the /Arm/busybox reboot call without waiting for confirmation
Thanks
C:\Program Files\WinSCP>WinSCP.com /privatekey=C:\Users\willl\Desktop\synergy-ss
h2.ppk /nointeractiveinput /command "option batch abort" "option confirm off" "o
pen ""scp://dropbear@192.168.1.110:/Arm/Synergy/" "call /Arm/busybox1.19 killall
init.sh 2>&1" "put ""C:\Users\willl\Desktop\SynergyDemo" "call /Arm/busybox1.19
reboot -nfd 10 2>&1" "close" "exit"
When I run the "call /Arm/busybox1.19 reboot -nfd 10 2>&1"
It doesn't then close the connection with the "close" it instead waits and then I get the
Host is not communicating for more than 15 seconds. Still waiting...
Note: If the problem repeats, try turning off 'Optimize connection buffer size'.
Warning: Aborting this operation will close connection!
(A)bort (0 s): Abort
Two Questions
1) If i have the option batch abort option confirm off and /nointeractiveinput why and I getting this message shouldn't it just abort the connection
2) How can I run the /Arm/busybox reboot call without waiting for confirmation
Thanks