comparison src/update @ 0:96a9758165cd original

Initial revision
author carl
date Tue, 20 Apr 2004 20:02:29 -0700
parents
children 793ac9cc114d
comparison
equal deleted inserted replaced
-1:000000000000 0:96a9758165cd
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