view src/update @ 16:2ae8d953f1d0

add scanning for bare hostnames
author carl
date Thu, 29 Apr 2004 21:56:22 -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