Создал(а) 'rr1zf.sh'

This commit is contained in:
ua1zbe 2022-04-23 09:02:48 +03:00
parent 11198e6891
commit 75cc43aa39
1 changed files with 20 additions and 0 deletions

20
rr1zf.sh Normal file
View File

@ -0,0 +1,20 @@
Подключение…#!/bin/bash
#Define login info
user=RR1ZF
password=22250
#Define object user info
senduser=RR1ZF
#Define APRS-IS server
server=russia.aprs2.net
port=14580
#Define station location
lat=6855.92N
lon=03306.03E
#Define data
comment="Analog Repeater 145.625/145.025MHz CTCSS-88.5 "
data="$senduser>APN100,TCPIP*:=${lat}/${lon}r${comment}"
#Send data to the server
printf "%s\n" "user $user pass $password" "${senduser}>APN100,TCPIP*:=${lat}/${lon}r${comment}/A=000885" | ncat aprs.ua1zbe.tk 14580