Last change
on this file since 8620 was 8620, checked in by rick, 14 years ago |
Fix relative path definitions
|
-
Property svn:executable
set to
*
|
File size:
1.3 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 = ();
|
---|
[7523] | 16 | #$filelist[0]="dhcpd.conf";
|
---|
[7521] | 17 | $filelist[1]="rc.conf.local";
|
---|
[6664] | 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);
|
---|
[8620] | 39 | $uri='/config/iris/freebsd/8.0-RELEASE/';
|
---|
| 40 | $cgi_dir="http://${hostname}$uri";
|
---|
| 41 | $source="$cgi_dir";
|
---|
[6664] | 42 |
|
---|
| 43 | #path variablen
|
---|
[7273] | 44 | $home=getcwd . "/../../";
|
---|
[6664] | 45 | $ndir="$home/nodes";
|
---|
[7441] | 46 | $toolfile="$home/freebsd/iris-8.0/wleiden.pl";
|
---|
[6664] | 47 |
|
---|
| 48 |
|
---|
| 49 | #exec vars
|
---|
| 50 | $svn="/usr/local/bin/svn";
|
---|
| 51 | $wicontrol='/usr/sbin/wicontrol';
|
---|
| 52 |
|
---|
| 53 | #naming vars
|
---|
| 54 | $configfile="wleiden.conf";
|
---|
| 55 |
|
---|
| 56 | #module IP.pm
|
---|
[8605] | 57 | $IP_pmPath="$home/freebsd/IP.pm";
|
---|
[6664] | 58 |
|
---|
| 59 | #dnsheader.conf
|
---|
| 60 | $dnsheader_confPath="$home/dns/dnsheader.conf";
|
---|
| 61 |
|
---|
| 62 |
|
---|
| 63 | ## ssh key variablen ##
|
---|
| 64 | #global ssh_keys
|
---|
| 65 | $global_keyPath="$home/nodes/global_keys";
|
---|
| 66 | #node specific
|
---|
| 67 | $ssh_file='ssh_key'
|
---|
| 68 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.