Mercurial > dnsbl
annotate src/update @ 5:793ac9cc114d stable-1-0
updates to use dcc conf files
author | carl |
---|---|
date | Wed, 21 Apr 2004 16:09:07 -0700 |
parents | 96a9758165cd |
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 |