#!/bin/bash ################################################################################## # Send beacon via APRS channel 1 (ax0) # # # # (C)2021 M.T. Konstapel https://meezenest.nl/mees # # # # This file is part of PE1RXF-APRS-server. # # # # PE1RXF-APRS-server is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # # the Free Software Foundation, either version 3 of the License, or # # (at your option) any later version. # # # # PE1RXF-APRS-server is distributed in the hope that it will be useful, # # but WITHOUT ANY WARRANTY; without even the implied warranty of # # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # # GNU General Public License for more details. # # # # You should have received a copy of the GNU General Public License # # along with PE1RXF-APRS-server. If not, see . # # # ################################################################################## source /home/marcel/ham/aprs_utils/config.shlib; # load the config library functions ConfigFile="/home/marcel/ham/aprs_utils/pe1rxf-aprs-server.cfg" BEACON_FILE="$(config_get ax0_beacon_file $ConfigFile)" TRANSMIT_LOCATION="$(config_get ax0_transmit_directory $ConfigFile)" if [ -f "$BEACON_FILE" ]; then /bin/cp "$BEACON_FILE" "$TRANSMIT_LOCATION" fi