[FADCA] Re: Add on to display adjacent switch

Chuck Hast wchast at gmail.com
Mon Jul 24 01:26:12 EDT 2006


On 7/24/06, Chuck Hast <wchast at gmail.com> wrote:
> I did this little file to display neighbor switches and addresses, all it does
> is grep the data into a file and then greps the file for the info that
> is particular
> to the adjacent switches. There is probably a quicker way to do it, but hey
> it works and it will allow the users to discover the paths to the neighbor
> switches if they want to.
>
> I called it 'adjacent' and if you connect to kp4djt-8 and type adj you will
> get the neighbor switches with thier addresses. Here it is in all of it's glory.
>
> root at fpac-dev:/etc/ax25# cat adjacent
> #!/bin/bash
> grep -A3 "Node =" /etc/ax25/fpac.conf > test.rt
> grep -A2 Path test.rt
> # thats all folks!!!
>

Ohh yes if you use it make sure that chmod it so that it is executable.


-- 
Chuck Hast  -- KP4DJT --
To paraphrase my flight instructor;
"the only dumb question is the one you DID NOT ask resulting in my going
out and having to identify your bits and pieces in the midst of torn
and twisted metal."


More information about the FADCA mailing list