From 00c1d608439df93e0944751bf716b04adbbfe69b Mon Sep 17 00:00:00 2001 From: Steve Zingman N4IRS Date: Wed, 23 Dec 2015 15:21:33 -0500 Subject: [PATCH] Add ambe_audio re-read --- get_ids.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) mode change 100644 => 100755 get_ids.sh diff --git a/get_ids.sh b/get_ids.sh old mode 100644 new mode 100755 index e8984cd..348ebc2 --- a/get_ids.sh +++ b/get_ids.sh @@ -1,10 +1,10 @@ #! /bin/sh -################################################# -# # -# Create directory structure for DMRlink # -# # -################################################# +################################################### +# # +# Download Subscriber and Peer ID's from DMR-MARC # +# # +################################################### # To provide more readable output from DMRlink with current subscriber and repeater IDs, we download the CSV files from DMR-MARC # If you are going to use this in a cron task, don't run it more then once a day. @@ -30,3 +30,6 @@ wget -O subscriber_ids.csv -q "http://www.dmr-marc.net/cgi-bin/trbo-database/dat # Get the peer IDs wget -O peer_ids.csv -q "http://www.dmr-marc.net/cgi-bin/trbo-database/datadump.cgi?table=repeaters&format=csv&header=0" +# Tell ambe_audio to re-read the files +echo -n "reread_subscribers" | nc 127.0.0.1 1235 +