Mercurial > dnsbl
view src/update @ 0:96a9758165cd original
Initial revision
author | carl |
---|---|
date | Tue, 20 Apr 2004 20:02:29 -0700 |
parents | |
children | 793ac9cc114d |
line wrap: on
line source
#!/bin/bash targets="ns1 davd" if [ "$1" == "conf" ]; then DST=/var/dnsbl mkdir -p $DST cp *.conf $DST for i in $targets; do scp *.conf $i:$DST done else sh install.bash for i in $targets; do DST=/usr/src/rh8/dnsbl scp * $i:$DST ssh $i "cd $DST; sh install.bash" done fi