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