view src/update @ 13:2752e512fd32 stable-2-1

finish documentation
author carl
date Sun, 25 Apr 2004 11:36:08 -0700
parents 793ac9cc114d
children 2eef08791e11
line wrap: on
line source

#!/bin/bash

targets="ns1 davd"
DST=/var/dnsbl
cp $DST/dnsbl.conf .
for i in $targets; do
    scp $DST/*.conf $i:$DST
done

sh install.bash
for i in $targets; do
    DST=/usr/src/rh8/dnsbl
    ssh $i "mkdir -p $DST"
    scp * $i:$DST
    ssh $i "cd $DST; sh install.bash"
done