[FADCA] Add on to display adjacent switch

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


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!!!

-- 
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