annotate src/update @ 22:c21b888cc175
stable-2-2
fix restart code, add ifdef for linux pid issues
author |
carl |
date |
Sat, 01 May 2004 07:44:51 -0700 |
parents |
793ac9cc114d |
children |
2eef08791e11 |
rev |
line source |
0
|
1 #!/bin/bash
|
|
2
|
|
3 targets="ns1 davd"
|
5
|
4 DST=/var/dnsbl
|
|
5 cp $DST/dnsbl.conf .
|
|
6 for i in $targets; do
|
|
7 scp $DST/*.conf $i:$DST
|
|
8 done
|
|
9
|
|
10 sh install.bash
|
|
11 for i in $targets; do
|
|
12 DST=/usr/src/rh8/dnsbl
|
|
13 ssh $i "mkdir -p $DST"
|
|
14 scp * $i:$DST
|
|
15 ssh $i "cd $DST; sh install.bash"
|
|
16 done
|