Last change
on this file since 8156 was 8034, checked in by rick, 15 years ago |
Cosmetic:
- Sort ordering more logical, based on the Key and then the #
- Instead of fixed matches allow regEx so we can only list proxies for example
|
-
Property svn:executable
set to
*
|
File size:
1.1 KB
|
Line | |
---|
1 | #!/usr/bin/perl -w
|
---|
2 | use Cwd;
|
---|
3 | #
|
---|
4 | # Variable file
|
---|
5 |
|
---|
6 | $NG = 0;
|
---|
7 |
|
---|
8 | #debugging variable
|
---|
9 | $debug=0;
|
---|
10 |
|
---|
11 | #author credits
|
---|
12 | $author="feb 2003 jasper\@WirelessLeiden.NL \| maart 2005/jul 2009 rick\@WirelessLeiden.NL \| jan 2010/jan 2010 richardvm\@WirelessLeiden.nl";
|
---|
13 |
|
---|
14 | #filelist
|
---|
15 | @filelist = ();
|
---|
16 | $filelist[0]="rc.conf.local";
|
---|
17 | $filelist[1]="resolv.conf";
|
---|
18 | $filelist[2]="txtconfig";
|
---|
19 | $filelist[3]="authorized_keys";
|
---|
20 |
|
---|
21 | #Ignore this node diretories
|
---|
22 | @removefromnodelist = ('retired','obsolete', '^CNode');
|
---|
23 |
|
---|
24 | #(inter)net env
|
---|
25 | if( defined $ENV{'SERVER_NAME'} ) {
|
---|
26 | $hostname=$ENV{'SERVER_NAME'};
|
---|
27 | }
|
---|
28 | else {
|
---|
29 | $hostname=`hostname`;
|
---|
30 | };
|
---|
31 |
|
---|
32 | chomp($hostname);
|
---|
33 | $cgi_dir="http://$hostname/freebsd/proxy-8.0";
|
---|
34 | $source="$cgi_dir/g_list.pl";
|
---|
35 |
|
---|
36 | #path variablen
|
---|
37 | $home=getcwd . "/../../";
|
---|
38 | $ndir="$home/nodes";
|
---|
39 | $toolfile="$home/freebsd/proxy-8.0/wleiden.pl";
|
---|
40 |
|
---|
41 |
|
---|
42 | #exec vars
|
---|
43 | $svn="/usr/local/bin/svn";
|
---|
44 | $wicontrol='/usr/sbin/wicontrol';
|
---|
45 |
|
---|
46 | #naming vars
|
---|
47 | $configfile="wleiden.conf";
|
---|
48 |
|
---|
49 | #module IP.pm
|
---|
50 | $IP_pmPath="$home/tools/IP.pm";
|
---|
51 |
|
---|
52 | #dnsheader.conf
|
---|
53 | $dnsheader_confPath="$home/dns/dnsheader.conf";
|
---|
54 |
|
---|
55 |
|
---|
56 | ## ssh key variablen ##
|
---|
57 | #global ssh_keys
|
---|
58 | $global_keyPath="$home/nodes/global_keys";
|
---|
59 | #node specific
|
---|
60 | $ssh_file='ssh_key'
|
---|
61 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.