view src/update @ 48:5ef10dc14457

properly drop root privs
author carl
date Fri, 09 Jul 2004 13:57:59 -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