view src/update @ 49:4f9e3dc55d38 stable-3-3

properly drop root privs
author carl
date Fri, 09 Jul 2004 14:09:02 -0700
parents 2eef08791e11
children
line wrap: on
line source

#!/bin/bash

targets="ns1 davd"

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

DST=/etc/dnsbl
for i in $targets; do
    scp $DST/*.conf $i:$DST
done