Last change
on this file since 8579 was 7273, checked in by rick, 15 years ago |
User relative path
|
-
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
|
---|
[7036] | 12 | $author="feb 2003 jasper\@WirelessLeiden.NL \| maart 2005/jul 2009 rick\@WirelessLeiden.NL";
|
---|
[6664] | 13 |
|
---|
| 14 | #filelist
|
---|
| 15 | @filelist = ();
|
---|
| 16 | $filelist[0]="dhcpd.conf";
|
---|
| 17 | $filelist[1]="rc.node.local";
|
---|
| 18 | $filelist[2]="resolv.conf";
|
---|
[7036] | 19 | #$filelist[3]="named.conf";
|
---|
[6664] | 20 | $filelist[4]="txtconfig";
|
---|
| 21 | $filelist[5]="authorized_keys";
|
---|
[7141] | 22 | $filelist[6]="dnsmasq.conf";
|
---|
[6664] | 23 |
|
---|
| 24 | #Ignore this node diretories
|
---|
| 25 | %removefromnodelist = (
|
---|
| 26 | 'retired' => 'YES',
|
---|
| 27 | 'obsolete' => 'YES',
|
---|
| 28 | );
|
---|
| 29 |
|
---|
| 30 | #(inter)net env
|
---|
| 31 | if( defined $ENV{'SERVER_NAME'} ) {
|
---|
| 32 | $hostname=$ENV{'SERVER_NAME'};
|
---|
| 33 | }
|
---|
| 34 | else {
|
---|
| 35 | $hostname=`hostname`;
|
---|
| 36 | };
|
---|
| 37 |
|
---|
| 38 | chomp($hostname);
|
---|
[7036] | 39 | $cgi_dir="http://$hostname/freebsd/iris";
|
---|
[6664] | 40 | $source="$cgi_dir/g_list.pl";
|
---|
| 41 |
|
---|
| 42 | #path variablen
|
---|
[7273] | 43 | $home=getcwd . "/../../";
|
---|
[6664] | 44 | $ndir="$home/nodes";
|
---|
[7036] | 45 | $toolfile="$home/freebsd/iris/wleiden.pl";
|
---|
[6664] | 46 |
|
---|
| 47 |
|
---|
| 48 | #exec vars
|
---|
| 49 | $svn="/usr/local/bin/svn";
|
---|
| 50 | $wicontrol='/usr/sbin/wicontrol';
|
---|
| 51 |
|
---|
| 52 | #naming vars
|
---|
| 53 | $configfile="wleiden.conf";
|
---|
| 54 |
|
---|
| 55 | #module IP.pm
|
---|
| 56 | $IP_pmPath="$home/tools/IP.pm";
|
---|
| 57 |
|
---|
| 58 | #dnsheader.conf
|
---|
| 59 | $dnsheader_confPath="$home/dns/dnsheader.conf";
|
---|
| 60 |
|
---|
| 61 |
|
---|
| 62 | ## ssh key variablen ##
|
---|
| 63 | #global ssh_keys
|
---|
| 64 | $global_keyPath="$home/nodes/global_keys";
|
---|
| 65 | #node specific
|
---|
| 66 | $ssh_file='ssh_key'
|
---|
| 67 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.