add some scripts

This commit is contained in:
2022-07-19 19:59:28 +03:00
parent 73bdcfb119
commit 3a649661b8
26 changed files with 482 additions and 43 deletions

24
Daemons/astrosib/park_tel.sh Executable file
View File

@@ -0,0 +1,24 @@
#!/bin/bash
export http_proxy=""
A="-5:00:00"
H="2:00:00"
function sendcmd(){
echo $1 | nc localhost 10001 -q10
}
#lower limit is 0
sendcmd ":So0#"
sendcmd ":Sz${A}#"
sendcmd ":Sa${H}#"
sendcmd ":MA#"
#while true; do
# ANS=$(sendcmd ":Gstat#")
# echo $ANS
# [ $ANS == "0#" ] && break
# sleep 2
#done