annotate src/update @ 40:dc3d8d1aa2d2

fix handling of missing include files
author carl
date Mon, 07 Jun 2004 21:07:40 -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