diff --git a/hotspots.sh b/hotspots.sh index 940b19e..f5f97d9 100755 --- a/hotspots.sh +++ b/hotspots.sh @@ -3,7 +3,7 @@ # de NQ4T (nq4tango@gmail.com) # SET THE HOSTNAME OR IP OF YOUR HOTSPOT! -pidmr=192.168.1.10 +pidmr=127.0.0.1 # I HAVE TWO SO I SET TWO #pidstar=192.168.1.11 @@ -12,7 +12,7 @@ pidmr=192.168.1.10 # if you are not using DMR, then comment these two lines out # to comment out, just add a pound-sign to the start of the line, like these comments. -dmr=$(curl -s http://$pidmr/mmdvmhost/bm_links.php| sed 's/<[^>]\+>/\n/g' | grep '^TG' | sed 's/TG/#/g'| sed 's/(.)//g' | sed ':a;N;$!ba;s/\n/ - /g') +dmr=$(curl -s http://$pidmr/mmdvmhost/bm_links.php| sed 's/<[^>]\+>/\n/g' | grep '^TG' | sed 's/TG/#/g'| sed ':a;N;$!ba;s/\n/ /g' | sed 's/\s#/ \\·\<\/b\> #/g') [ -z "$dmr" ] && dmr="No Talkgroups Found" # do the same for dstar with repeaterinfo.php but just egrep for reflector prefix, strip HTML, keep the first 8 characters