Last change
on this file since 8319 was 5881, checked in by rick, 17 years ago |
Genesis config cleanups
|
-
Property svn:eol-style
set to
native
|
File size:
1.1 KB
|
Rev | Line | |
---|
[4174] | 1 | #!/usr/bin/perl -w
|
---|
| 2 | #
|
---|
| 3 | # Variable file
|
---|
| 4 |
|
---|
[4981] | 5 | $NG = 0;
|
---|
| 6 |
|
---|
[4174] | 7 | #debugging variable
|
---|
| 8 | $debug=0;
|
---|
| 9 |
|
---|
| 10 | #author credits
|
---|
| 11 | $author="feb 2003 jasper\@WirelessLeiden.NL \| maart 2005 rick\@WirelessLeiden.NL";
|
---|
| 12 |
|
---|
| 13 | #filelist
|
---|
| 14 | @filelist = ();
|
---|
| 15 | $filelist[0]="dhcpd.conf";
|
---|
[4981] | 16 | $filelist[1]="rc.local"; # Always include (as to overwrite existing file)
|
---|
[4205] | 17 | $filelist[2]="rc.node.local";
|
---|
[4174] | 18 | $filelist[3]="resolv.conf";
|
---|
| 19 | $filelist[4]="named.conf";
|
---|
| 20 | $filelist[5]="snmpd.local.conf";
|
---|
| 21 | $filelist[6]="txtconfig";
|
---|
| 22 | $filelist[7]="authorized_keys";
|
---|
| 23 |
|
---|
| 24 | #(inter)net env
|
---|
[4205] | 25 | if( defined $ENV{'SERVER_NAME'} ) {
|
---|
| 26 | $hostname=$ENV{'SERVER_NAME'};
|
---|
| 27 | }
|
---|
| 28 | else {
|
---|
| 29 | $hostname=`hostname`;
|
---|
| 30 | };
|
---|
| 31 |
|
---|
[4174] | 32 | chomp($hostname);
|
---|
[5881] | 33 | $cgi_dir="http://$hostname/freebsd/5.0";
|
---|
[4174] | 34 | $source="$cgi_dir/g_list.pl";
|
---|
| 35 |
|
---|
| 36 | #path variablen
|
---|
[5881] | 37 | $home="/usr/local/www/wlconfig.wirelessleiden.nl";
|
---|
[4174] | 38 | $ndir="$home/nodes";
|
---|
[5881] | 39 | $toolfile="$home/freebsd/5.0/wleiden.pl";
|
---|
[4174] | 40 |
|
---|
[4205] | 41 |
|
---|
[4174] | 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
|
---|
[5881] | 50 | $IP_pmPath="$home/tools/IP.pm";
|
---|
[4174] | 51 |
|
---|
| 52 | #dnsheader.conf
|
---|
[5881] | 53 | $dnsheader_confPath="$home/dns/dnsheader.conf";
|
---|
[4174] | 54 |
|
---|
| 55 |
|
---|
| 56 | ## ssh key variablen ##
|
---|
| 57 | #global ssh_keys
|
---|
[5881] | 58 | $global_keyPath="$home/nodes/global_keys";
|
---|
[4174] | 59 | #node specific
|
---|
| 60 | $ssh_file='ssh_key'
|
---|
| 61 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.