[xfbb] INF.SYS cleanup

C Schuman k4gbb1 at embarqmail.com
Thu Sep 11 00:06:51 CEST 2008


Forwarding problems have left my inf.sys file full of dups.
Every time a BBS trys to fwd to me and the fwd fails and a dup user 
record is generated.
I have been running maintinf ever couple of days to clean out the 
inf.sys file.
The inf cleanup is not a part of the daily housekeeping routine.

I added the INF routine so that I don't have to mess with.
To add the routine you need to add a script to
/usr/local/lib/fbb/script/maintenance/
If you list the directory you will see several files that begin with 20_
I'm guessing this is a pri/sequence number. I added 20_epurinf
Here is the contents of that file.
          ****
date >  /var/ax25/fbb/epurinf.res 2>&1
/usr/local/lib/fbb/tool/maintinf 180 /A >> /var/ax25/fbb/epurinf.res 2>&1
cd /var/ax25/fbb/
mv inf.sys inf.old
mv inf.new inf.sys
          ****

This deletes all the user records older than 180 days old  and removes 
any dups
and logs the date stamped output to the /var/ax25/fbb/epurinf.res file.
The old inf.sys file is moved to inf.old and inf.sys is replaced with 
the inf.new file.

73
<<Charlie>>
     k4gbb


More information about the xfbb mailing list