Last change
on this file since 8579 was 5881, checked in by rick, 17 years ago |
Genesis config cleanups
|
-
Property svn:eol-style
set to
native
|
File size:
1.1 KB
|
Line | |
---|
1 | #!/usr/bin/perl -w
|
---|
2 | #
|
---|
3 | # Variable file
|
---|
4 |
|
---|
5 | $NG = 0;
|
---|
6 |
|
---|
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";
|
---|
16 | $filelist[1]="rc.local"; # Always include (as to overwrite existing file)
|
---|
17 | $filelist[2]="rc.node.local";
|
---|
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
|
---|
25 | if( defined $ENV{'SERVER_NAME'} ) {
|
---|
26 | $hostname=$ENV{'SERVER_NAME'};
|
---|
27 | }
|
---|
28 | else {
|
---|
29 | $hostname=`hostname`;
|
---|
30 | };
|
---|
31 |
|
---|
32 | chomp($hostname);
|
---|
33 | $cgi_dir="http://$hostname/freebsd/5.0";
|
---|
34 | $source="$cgi_dir/g_list.pl";
|
---|
35 |
|
---|
36 | #path variablen
|
---|
37 | $home="/usr/local/www/wlconfig.wirelessleiden.nl";
|
---|
38 | $ndir="$home/nodes";
|
---|
39 | $toolfile="$home/freebsd/5.0/wleiden.pl";
|
---|
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
|
---|
50 | $IP_pmPath="$home/tools/IP.pm";
|
---|
51 |
|
---|
52 | #dnsheader.conf
|
---|
53 | $dnsheader_confPath="$home/dns/dnsheader.conf";
|
---|
54 |
|
---|
55 |
|
---|
56 | ## ssh key variablen ##
|
---|
57 | #global ssh_keys
|
---|
58 | $global_keyPath="$home/nodes/global_keys";
|
---|
59 | #node specific
|
---|
60 | $ssh_file='ssh_key'
|
---|
61 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.