Skip to content

Commit

Permalink
Update the URL for DMR-MARC
Browse files Browse the repository at this point in the history
  • Loading branch information
g4klx committed Apr 2, 2017
1 parent 1a49641 commit 391b57f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DMRIDUpdate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ then
fi

# Generate new file
curl 'http://www.dmr-marc.net/cgi-bin/trbo-database/datadump.cgi?table=users&format=csv&header=0' 2>/dev/null | sed -e 's/\t//g' | awk -F"," '/,/{gsub(/ /, "", $2); printf "%s\t%s\t%s\n", $1, $2, $3}' | sed -e 's/\(.\) .*/\1/g' > ${DMRIDFILE}
curl 'http://dmr-marc.net/cgi-bin/trbo-database/datadump.cgi?table=users&format=csv&header=0' 2>/dev/null | sed -e 's/\t//g' | awk -F"," '/,/{gsub(/ /, "", $2); printf "%s\t%s\t%s\n", $1, $2, $3}' | sed -e 's/\(.\) .*/\1/g' > ${DMRIDFILE}

# Restart MMDVMHost
eval ${RESTARTCOMMAND}

0 comments on commit 391b57f

Please sign in to comment.