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
|
Rev | Line | |
---|
[6664] | 1 | #!/usr/bin/perl -w
|
---|
[7273] | 2 | use Cwd;
|
---|
[6664] | 3 | #
|
---|
| 4 | # Variable file
|
---|
| 5 |
|
---|
| 6 | $NG = 0;
|
---|
| 7 |
|
---|
| 8 | #debugging variable
|
---|
| 9 | $debug=0;
|
---|
| 10 |
|
---|
| 11 | #author credits
|
---|
[7380] | 12 | $author="feb 2003 jasper\@WirelessLeiden.NL \| maart 2005/jul 2009 rick\@WirelessLeiden.NL \| jan 2010/jan 2010 richardvm\@WirelessLeiden.nl";
|
---|
[6664] | 13 |
|
---|
| 14 | #filelist
|
---|
| 15 | @filelist = ();
|
---|
[8033] | 16 | $filelist[0]="rc.conf.local";
|
---|
| 17 | $filelist[1]="resolv.conf";
|
---|
| 18 | $filelist[2]="txtconfig";
|
---|
| 19 | $filelist[3]="authorized_keys";
|
---|
[6664] | 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);
|
---|
[7380] | 36 | $cgi_dir="http://$hostname/freebsd/proxy-8.0";
|
---|
[6664] | 37 | $source="$cgi_dir/g_list.pl";
|
---|
| 38 |
|
---|
| 39 | #path variablen
|
---|
[7273] | 40 | $home=getcwd . "/../../";
|
---|
[6664] | 41 | $ndir="$home/nodes";
|
---|
[7380] | 42 | $toolfile="$home/freebsd/proxy-8.0/wleiden.pl";
|
---|
[6664] | 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.