Last change
on this file since 8033 was 8033, checked in by rick, 15 years ago |
Cosmetic only
|
-
Property svn:executable
set to
*
|
File size:
1.2 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 = (
|
---|
23 | 'retired' => 'YES',
|
---|
24 | 'obsolete' => 'YES',
|
---|
25 | );
|
---|
26 |
|
---|
27 | #(inter)net env
|
---|
28 | if( defined $ENV{'SERVER_NAME'} ) {
|
---|
29 | $hostname=$ENV{'SERVER_NAME'};
|
---|
30 | }
|
---|
31 | else {
|
---|
32 | $hostname=`hostname`;
|
---|
33 | };
|
---|
34 |
|
---|
35 | chomp($hostname);
|
---|
36 | $cgi_dir="http://$hostname/freebsd/proxy-8.0";
|
---|
37 | $source="$cgi_dir/g_list.pl";
|
---|
38 |
|
---|
39 | #path variablen
|
---|
40 | $home=getcwd . "/../../";
|
---|
41 | $ndir="$home/nodes";
|
---|
42 | $toolfile="$home/freebsd/proxy-8.0/wleiden.pl";
|
---|
43 |
|
---|
44 |
|
---|
45 | #exec vars
|
---|
46 | $svn="/usr/local/bin/svn";
|
---|
47 | $wicontrol='/usr/sbin/wicontrol';
|
---|
48 |
|
---|
49 | #naming vars
|
---|
50 | $configfile="wleiden.conf";
|
---|
51 |
|
---|
52 | #module IP.pm
|
---|
53 | $IP_pmPath="$home/tools/IP.pm";
|
---|
54 |
|
---|
55 | #dnsheader.conf
|
---|
56 | $dnsheader_confPath="$home/dns/dnsheader.conf";
|
---|
57 |
|
---|
58 |
|
---|
59 | ## ssh key variablen ##
|
---|
60 | #global ssh_keys
|
---|
61 | $global_keyPath="$home/nodes/global_keys";
|
---|
62 | #node specific
|
---|
63 | $ssh_file='ssh_key'
|
---|
64 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.