view src/update @ 39:6e9d0b2d0720

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