annotate src/update @ 38:038521f9490a stable-3-0

new version
author carl
date Mon, 31 May 2004 09:55:03 -0700
parents 793ac9cc114d
children 2eef08791e11
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
96a9758165cd Initial revision
carl
parents:
diff changeset
1 #!/bin/bash
96a9758165cd Initial revision
carl
parents:
diff changeset
2
96a9758165cd Initial revision
carl
parents:
diff changeset
3 targets="ns1 davd"
5
793ac9cc114d updates to use dcc conf files
carl
parents: 0
diff changeset
4 DST=/var/dnsbl
793ac9cc114d updates to use dcc conf files
carl
parents: 0
diff changeset
5 cp $DST/dnsbl.conf .
793ac9cc114d updates to use dcc conf files
carl
parents: 0
diff changeset
6 for i in $targets; do
793ac9cc114d updates to use dcc conf files
carl
parents: 0
diff changeset
7 scp $DST/*.conf $i:$DST
793ac9cc114d updates to use dcc conf files
carl
parents: 0
diff changeset
8 done
793ac9cc114d updates to use dcc conf files
carl
parents: 0
diff changeset
9
793ac9cc114d updates to use dcc conf files
carl
parents: 0
diff changeset
10 sh install.bash
793ac9cc114d updates to use dcc conf files
carl
parents: 0
diff changeset
11 for i in $targets; do
793ac9cc114d updates to use dcc conf files
carl
parents: 0
diff changeset
12 DST=/usr/src/rh8/dnsbl
793ac9cc114d updates to use dcc conf files
carl
parents: 0
diff changeset
13 ssh $i "mkdir -p $DST"
793ac9cc114d updates to use dcc conf files
carl
parents: 0
diff changeset
14 scp * $i:$DST
793ac9cc114d updates to use dcc conf files
carl
parents: 0
diff changeset
15 ssh $i "cd $DST; sh install.bash"
793ac9cc114d updates to use dcc conf files
carl
parents: 0
diff changeset
16 done