<pre>
#!/bin/sh
# Shell script to update Mixmaster 2.9 keyrings
# and stats from a pinger.
# Move the blocks of assignments around so that
# the pinger you want to use is last.

# efga pinger
# doesn't have version 2 stats
BASEURL=http://anon.efga.org/Remailers/
PUBRINGMIX=pubring.mix
RLIST=rlist
MLIST=mlist
RLIST2=rlist2
MLIST2=mlist2
PUBRINGASC=pubring.asc

# paranoici pinger
BASEURL=http://remailer.autistici.org/stats/
PUBRINGMIX=pubring.mix
RLIST=rlist.txt
MLIST=mlist.txt
RLIST2=rlist2.txt
MLIST2=mlist2.txt
PUBRINGASC=pgp-all.asc
TYPE2=type2.list

#melontraffickers pinger
#BASEURL=http://stats.melontraffickers.com/
#PUBRINGMIX=pubring.mix
#RLIST=rlist.txt
#MLIST=mlist.txt
#RLIST2=rlist2.txt
#MLIST2=mlist2.txt
#PUBRINGASC=pgp-all.asc
#TYPE2=type2.list

# cmeclax pinger
#BASEURL=http://lexx.shinn.net/cmeclax/
#PUBRINGMIX=pubring.mix
#RLIST=rlist
#MLIST=mlist
#RLIST2=rlist2
#MLIST2=mlist2
#PUBRINGASC=pubring.asc

cd ~/Mix
wget -O - $BASEURL$RLIST >rlist && \
wget -O - $BASEURL$MLIST >mlist && \
wget -O - $BASEURL$RLIST2 >rlist2 && \
wget -O - $BASEURL$MLIST2 >mlist2 && \
wget -O - $BASEURL$TYPE2 > type2 && \
wget -O - $BASEURL$PUBRINGMIX >pubringcr && \
tr -d \\r <pubringcr >pubring && \
wget -O - $BASEURL/$PUBRINGASC >pubringa && \
mv pubring pubring.mix && mv rlist rlist.txt && \
mv mlist mlist.txt && mv type2 type2.list && mv pubringa pubring.asc
</pre>

