annotate src/package @ 22:c21b888cc175 stable-2-2

fix restart code, add ifdef for linux pid issues
author carl
date Sat, 01 May 2004 07:44:51 -0700
parents 19f11ae628df
children 2e23b7184d2b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
96a9758165cd Initial revision
carl
parents:
diff changeset
1 #!/bin/bash
96a9758165cd Initial revision
carl
parents:
diff changeset
2
21
19f11ae628df change version number
carl
parents: 14
diff changeset
3 VER=dnsbl-2.2
14
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
4 mkdir $VER
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
5 target1=/home/httpd/html/510sg/util/dnsbl.tar.gz
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
6 target2=/home/httpd/html/510sg/dnsbl.conf
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
7 target3=/home/httpd/html/510sg/dnsbl.html
0
96a9758165cd Initial revision
carl
parents:
diff changeset
8
14
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
9 cp sample.conf $VER/dnsbl.conf
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
10 cp *cpp $VER
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
11 cp *rc $VER
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
12 cp install.bash $VER
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
13 cp LICENSE $VER
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
14 tar cfvz $target1 $VER
0
96a9758165cd Initial revision
carl
parents:
diff changeset
15
14
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
16 cp sample.conf $target2
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
17 cp dnsbl.html $target3
0
96a9758165cd Initial revision
carl
parents:
diff changeset
18
14
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
19 scp $target1 ns1:$target1
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
20 scp $target2 ns1:$target2
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
21 scp $target3 ns1:$target3
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
22 rm -rf $VER