view src/update @ 29:4dfdf33f1db0 stable-2-4

add syslog msg freeing memory, use bare tld names without leading period
author carl
date Thu, 27 May 2004 16:17:48 -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