0
|
1 #!/bin/bash
|
|
2
|
21
|
3 VER=dnsbl-2.2
|
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
|
14
|
9 cp sample.conf $VER/dnsbl.conf
|
|
10 cp *cpp $VER
|
|
11 cp *rc $VER
|
|
12 cp install.bash $VER
|
|
13 cp LICENSE $VER
|
|
14 tar cfvz $target1 $VER
|
0
|
15
|
14
|
16 cp sample.conf $target2
|
|
17 cp dnsbl.html $target3
|
0
|
18
|
14
|
19 scp $target1 ns1:$target1
|
|
20 scp $target2 ns1:$target2
|
|
21 scp $target3 ns1:$target3
|
|
22 rm -rf $VER
|