0
|
1 #!/bin/bash
|
|
2
|
30
|
3 VER=dnsbl-2.5
|
14
|
4 mkdir $VER
|
|
5 target1=/home/httpd/html/510sg/util/dnsbl.tar.gz
|
|
6 target2=/home/httpd/html/510sg/dnsbl.conf
|
|
7 target3=/home/httpd/html/510sg/dnsbl.html
|
0
|
8
|
24
|
9 cp sample.conf $VER/dnsbl.conf
|
28
|
10 cp html-tags.conf $VER
|
|
11 cp tld.conf $VER
|
24
|
12 cp *cpp $VER
|
|
13 cp *rc $VER
|
|
14 cp install.bash $VER
|
|
15 cp LICENSE $VER
|
14
|
16 tar cfvz $target1 $VER
|
0
|
17
|
14
|
18 cp sample.conf $target2
|
|
19 cp dnsbl.html $target3
|
0
|
20
|
24
|
21 echo scp $target1 ns1:$target1
|
|
22 echo scp $target2 ns1:$target2
|
|
23 echo scp $target3 ns1:$target3
|
28
|
24 scp $target1 ams:/tmp/`basename $target1`
|
|
25 scp $target2 ams:/tmp/`basename $target2`
|
|
26 scp $target3 ams:/tmp/`basename $target3`
|
14
|
27 rm -rf $VER
|