Mercurial > dnsbl
annotate src/update @ 7:93ff6d1ef647
stable standalone scanner module
author | carl |
---|---|
date | Thu, 22 Apr 2004 08:38:07 -0700 |
parents | 793ac9cc114d |
children | 2eef08791e11 |
rev | line source |
---|---|
0 | 1 #!/bin/bash |
2 | |
3 targets="ns1 davd" | |
5 | 4 DST=/var/dnsbl |
5 cp $DST/dnsbl.conf . | |
6 for i in $targets; do | |
7 scp $DST/*.conf $i:$DST | |
8 done | |
9 | |
10 sh install.bash | |
11 for i in $targets; do | |
12 DST=/usr/src/rh8/dnsbl | |
13 ssh $i "mkdir -p $DST" | |
14 scp * $i:$DST | |
15 ssh $i "cd $DST; sh install.bash" | |
16 done |