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