view src/update @ 12:6ac6d6b822ce stable-2-0

fix memory leak with duplicate url host names, document differences from sendmail.mc feature
author carl
date Fri, 23 Apr 2004 22:45:10 -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