You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
283 B
22 lines
283 B
4 years ago
|
#!/bin/bash
|
||
|
|
||
|
RIGCTL=$(which rigctl)
|
||
|
PARAMETERS="-m 2"
|
||
|
DELAY="60"
|
||
|
|
||
|
BANDS="14074000 21074000 28074000"
|
||
|
|
||
|
# wait for full minute
|
||
|
sleep $(((60 - $(date +%s) % 60)-1))
|
||
|
|
||
|
# start switching
|
||
|
while true
|
||
|
do
|
||
|
for band in $BANDS
|
||
|
do
|
||
|
$RIGCTL $PARAMETERS F $band
|
||
|
sleep $DELAY
|
||
|
done
|
||
|
done
|
||
|
|