0
|
1 #!/bin/bash
|
|
2
|
|
3 target1=/home/httpd/html/510sg/util/dnsbl.tar.gz
|
|
4 target2=/home/httpd/html/510sg/dnsbl.conf
|
5
|
5 target3=/home/httpd/html/510sg/dnsbl.html
|
0
|
6
|
|
7 mv -f dnsbl.conf dnsbl.conf.save
|
|
8 mv sample.conf dnsbl.conf
|
|
9 tar cfvz $target1 dnsbl.cpp dnsbl.conf install.bash LICENSE
|
|
10 mv dnsbl.conf sample.conf
|
|
11 mv dnsbl.conf.save dnsbl.conf
|
|
12
|
|
13 cp sample.conf $target2
|
2
|
14 cp dnsbl.html $target3
|
0
|
15
|
|
16 scp $target1 ns1:$target1
|
|
17 scp $target2 ns1:$target2
|
2
|
18 scp $target3 ns1:$target3
|