Yes, it would be good to update generally as there have been security problems in bash. At the moment BBB 1.2.1 is 4.3.30, RPi2 1.0 is 4.3.33 and Odroid (latest update ) is 4.3.39 My Acid which I am about to retire is 3.2.25. To check your bash version - bash --version 73 Doug WA3DSP http://www.crompton.com/hamradio Subject: Re: [App_rpt-users] modified custom nodenames From: bdboyle@bdboyle.com Date: Tue, 18 Aug 2015 21:47:17 -0400 To: doug@crompton.com rebuilt bash to 4.x, ok now. thanks. btw, excellent job on rpi build. migrated 28868 and 28254 over from old laptop to pi in less than half hour, even accounting for running firsttime and sucking over existing configs. bravo, sir. --BryanSent from my iPhone 5...No electrons were harmed in the sending of this message. On Aug 18, 2015, at 20:22, Doug Crompton <doug@crompton.com> wrote: Bryan, I am not sure. Perhaps the database is corrupt? I just re-ran mine and it does not seem to burp - Processing Node Number: 1000 - Callsign: WB6XYZ Processing Node Number: 1499 - Callsign: WA3DSP Processing Node Number: 2000 - Callsign: WB6NIL Processing Node Number: 2001 - Callsign: WB6NIL Processing Node Number: 2002 - Callsign: WB6NIL Processing Node Number: 2003 - Callsign: WB6NIL Processing Node Number: 2007 - Callsign: WB6NIL The first two entries you would not have so I suspect the node 2000 would be the first one you process. That means there is probably something wrong in the database. Try - grep -m 1 2000 /var/log/asterisk/astdb.txt 2000|WB6NIL|ALBACORE HUB|Downtown Los Angeles, CA replacing the path to your path if different. Are you seeing the same thing I am seeing? Maybe someone else has an idea? 73 Doug WA3DSP http://www.crompton.com/hamradio
Date: Tue, 18 Aug 2015 19:38:06 -0400 From: bdboyle@bdboyle.com To: doug@crompton.com Subject: Re: [App_rpt-users] modified custom nodenames
Doug:
When running...line 42: 35: while IFS='|' read f1 f2 f3 f4 36: do 37: 38: echo "Processing Node Number: $f1 - Callsign: $f2" 39: 40: STRING="" 41: 42: foo=${f2,,} 43: for (( i=0; i<${#foo}; i++ )); do 44: char=${foo:$i:1} 45:
gives me:
[root@WB0YLE scripts]# ./makenodenames Processing Node Number: 2000 - Callsign: WB6NIL ./makenodenames: line 42: ${f2,,}: bad substitution
?
I'm usually able to suss that out, but, this doesn't make sense (of course, it's been 4 years since I did any sort of bash programming...)
Thanks for insight.
-- Bryan In this world, you must be oh so smart or oh so pleasant. Well, for years I was smart. I recommend pleasant. You may quote me.
Sent from my MacBook Pro.