Mercurial > dnsbl
annotate src/update @ 1:bd0b1a153f67
no message
author | carl |
---|---|
date | Tue, 20 Apr 2004 22:11:14 -0700 |
parents | 96a9758165cd |
children | 793ac9cc114d |
rev | line source |
---|---|
0 | 1 #!/bin/bash |
2 | |
3 targets="ns1 davd" | |
4 if [ "$1" == "conf" ]; then | |
5 DST=/var/dnsbl | |
6 mkdir -p $DST | |
7 cp *.conf $DST | |
8 for i in $targets; do | |
9 scp *.conf $i:$DST | |
10 done | |
11 else | |
12 sh install.bash | |
13 for i in $targets; do | |
14 DST=/usr/src/rh8/dnsbl | |
15 scp * $i:$DST | |
16 ssh $i "cd $DST; sh install.bash" | |
17 done | |
18 fi |