comparison src/update @ 45:2eef08791e11

changes for 3.2
author carl
date Fri, 09 Jul 2004 08:04:25 -0700
parents 793ac9cc114d
children
comparison
equal deleted inserted replaced
44:6b79046b18c2 45:2eef08791e11
1 #!/bin/bash 1 #!/bin/bash
2 2
3 targets="ns1 davd" 3 targets="ns1 davd"
4 DST=/var/dnsbl
5 cp $DST/dnsbl.conf .
6 for i in $targets; do
7 scp $DST/*.conf $i:$DST
8 done
9 4
10 sh install.bash
11 for i in $targets; do 5 for i in $targets; do
12 DST=/usr/src/rh8/dnsbl 6 DST=/usr/src/rh8/dnsbl
13 ssh $i "mkdir -p $DST" 7 ssh $i "mkdir -p $DST"
14 scp * $i:$DST 8 scp * $i:$DST
15 ssh $i "cd $DST; sh install.bash" 9 ssh $i "cd $DST; sh install.bash"
16 done 10 done
11
12 DST=/etc/dnsbl
13 for i in $targets; do
14 scp $DST/*.conf $i:$DST
15 done