Last change
on this file since 5688 was 4986, checked in by rick, 19 years ago |
Minor bug fixes and RO/RW automation
|
-
Property svn:eol-style
set to
native
|
File size:
1.1 KB
|
Line | |
---|
1 | #!/usr/bin/perl -w
|
---|
2 | #
|
---|
3 | # Variable file
|
---|
4 |
|
---|
5 | #debugging variable
|
---|
6 | $debug=0;
|
---|
7 |
|
---|
8 | #author credits
|
---|
9 | $author="feb 2003 jasper\@WirelessLeiden.NL \| maart 2005 rick\@WirelessLeiden.NL";
|
---|
10 |
|
---|
11 | #filelist
|
---|
12 | @filelist = ();
|
---|
13 | $filelist[0]="dhcpd.conf";
|
---|
14 | $filelist[1]="rc.local";
|
---|
15 | $filelist[2]="rc.node.local";
|
---|
16 | $filelist[3]="resolv.conf";
|
---|
17 | $filelist[4]="named.conf";
|
---|
18 | $filelist[5]="snmpd.local.conf";
|
---|
19 | $filelist[6]="txtconfig";
|
---|
20 | $filelist[7]="authorized_keys";
|
---|
21 |
|
---|
22 | #(inter)net env
|
---|
23 | if( defined $ENV{'SERVER_NAME'} ) {
|
---|
24 | $hostname=$ENV{'SERVER_NAME'};
|
---|
25 | }
|
---|
26 | else {
|
---|
27 | $hostname=`hostname`;
|
---|
28 | };
|
---|
29 |
|
---|
30 | chomp($hostname);
|
---|
31 | $cgi_dir="http://$hostname/cgi-bin";
|
---|
32 | $source="$cgi_dir/g_list.pl";
|
---|
33 |
|
---|
34 | #path variablen
|
---|
35 | $home="/home/genesis";
|
---|
36 | $ndir="$home/nodes";
|
---|
37 | $toolfile="$home/tools/wleiden.pl";
|
---|
38 |
|
---|
39 | #exec vars
|
---|
40 | $svn="/usr/local/bin/svn";
|
---|
41 | $wicontrol='/usr/sbin/wicontrol';
|
---|
42 |
|
---|
43 | #naming vars
|
---|
44 | $configfile="wleiden.conf";
|
---|
45 |
|
---|
46 | #module IP.pm
|
---|
47 | $IP_pmPath='/home/genesis/tools/IP.pm';
|
---|
48 |
|
---|
49 | #dnsheader.conf
|
---|
50 | $dnsheader_confPath='/home/genesis/dns/dnsheader.conf';
|
---|
51 |
|
---|
52 |
|
---|
53 | ## ssh key variablen ##
|
---|
54 | #global ssh_keys
|
---|
55 | $global_keyPath='/home/genesis/nodes/global_keys';
|
---|
56 | #node specific
|
---|
57 | $ssh_file='ssh_key'
|
---|
58 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.