Skip to content

Commit

Permalink
Update Extern.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioFPVdev authored and MarioFPVdev committed Oct 31, 2024
1 parent 5e830fb commit ddc1dd9
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions Extern.bat
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,6 @@ if "%1" == "rb" (
plink -ssh root@%2 -pw %3 reboot
)

if "%1" == "sysup" (
plink -ssh root@%2 -pw %3 sysupgrade -k -r -n --force_ver
)

if "%1" == "keysdlgs" (
echo y | pscp -scp -pw %3 root@%2:/root/drone.key .
)
Expand Down Expand Up @@ -172,20 +168,6 @@ if "%1" == "shdl" (
echo y | pscp -scp -pw %3 root@%2:/root/kill.sh .
)

if "%1" == "temp" (
plink -ssh root@%2 -pw %3 cat /sys/devices/virtual/mstar/msys/TEMP_R
)

if "%1" == "rubyfw" (
plink -ssh root@%2 -pw %3 sed -i 's/BUILD_OPTION=fpv/BUILD_OPTION=rubyfpv/' /etc/os-release
plink -ssh root@%2 -pw %3 fw_setenv upgrade https://github.com/OpenIPC/firmware/releases/download/latest/openipc.ssc338q-nor-rubyfpv.tgz
)

if "%1" == "wfbfw" (
plink -ssh root@%2 -pw %3 sed -i 's/BUILD_OPTION=rubyfpv/BUILD_OPTION=fpv/' /etc/os-release
plink -ssh root@%2 -pw %3 fw_setenv upgrade https://github.com/OpenIPC/firmware/releases/download/latest/ssc338q_fpv_openipc-urllc-aio-nor.tgz
)

if "%1" == "offlinefw" (
echo y | pscp -scp -pw %3 %4.tgz root@%2:/tmp
plink -ssh root@%2 -pw %3 gzip -d /tmp/%4.tgz
Expand Down

0 comments on commit ddc1dd9

Please sign in to comment.