Last change
on this file since 14341 was 9525, checked in by rick, 13 years ago |
Relocate to new paths
|
-
Property svn:executable
set to
*
|
File size:
1.1 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
|
---|
[8034] | 22 | @removefromnodelist = ('retired','obsolete', '^CNode');
|
---|
[6664] | 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);
|
---|
[9525] | 33 | $cgi_dir="/config/iris/proxy/FreeBSD/8.0-RELEASE/g_list.pl";
|
---|
| 34 | $source="$cgi_dir";
|
---|
[6664] | 35 |
|
---|
| 36 | #path variablen
|
---|
[8782] | 37 | $home=getcwd
|
---|
| 38 | $ndir="/usr/local/www/wlconfig/nodes";
|
---|
| 39 | $toolfile="$home/wleiden.pl";
|
---|
[6664] | 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
|
---|
[8782] | 50 | $IP_pmPath="$home/IP.pm";
|
---|
[6664] | 51 |
|
---|
| 52 | #dnsheader.conf
|
---|
[8782] | 53 | #$dnsheader_confPath="$home/dns/dnsheader.conf";
|
---|
[6664] | 54 |
|
---|
| 55 |
|
---|
| 56 | ## ssh key variablen ##
|
---|
| 57 | #global ssh_keys
|
---|
[8782] | 58 | $global_keyPath="$ndir/global_keys";
|
---|
[6664] | 59 | #node specific
|
---|
[8961] | 60 | $ssh_file='ssh_key';
|
---|
[6664] | 61 |
|
---|
[8961] | 62 | $domain='wLeiden.NET.';
|
---|
| 63 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.