Last change
on this file since 6664 was 6664, checked in by huub, 16 years ago |
beginnetje van genesis tools voor FreeBSD 7.1
|
-
Property svn:executable
set to
*
|
File size:
1.2 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.node.local";
|
---|
17 | $filelist[2]="resolv.conf";
|
---|
18 | $filelist[3]="named.conf";
|
---|
19 | $filelist[4]="txtconfig";
|
---|
20 | $filelist[5]="authorized_keys";
|
---|
21 |
|
---|
22 | #Ignore this node diretories
|
---|
23 | %removefromnodelist = (
|
---|
24 | 'retired' => 'YES',
|
---|
25 | 'obsolete' => 'YES',
|
---|
26 | );
|
---|
27 |
|
---|
28 | #(inter)net env
|
---|
29 | if( defined $ENV{'SERVER_NAME'} ) {
|
---|
30 | $hostname=$ENV{'SERVER_NAME'};
|
---|
31 | }
|
---|
32 | else {
|
---|
33 | $hostname=`hostname`;
|
---|
34 | };
|
---|
35 |
|
---|
36 | chomp($hostname);
|
---|
37 | $cgi_dir="http://$hostname/freebsd/6.0";
|
---|
38 | $source="$cgi_dir/g_list.pl";
|
---|
39 |
|
---|
40 | #path variablen
|
---|
41 | $home="/usr/local/www/wlconfig.wirelessleiden.nl";
|
---|
42 | $ndir="$home/nodes";
|
---|
43 | $toolfile="$home/freebsd/6.0/wleiden.pl";
|
---|
44 |
|
---|
45 |
|
---|
46 | #exec vars
|
---|
47 | $svn="/usr/local/bin/svn";
|
---|
48 | $wicontrol='/usr/sbin/wicontrol';
|
---|
49 |
|
---|
50 | #naming vars
|
---|
51 | $configfile="wleiden.conf";
|
---|
52 |
|
---|
53 | #module IP.pm
|
---|
54 | $IP_pmPath="$home/tools/IP.pm";
|
---|
55 |
|
---|
56 | #dnsheader.conf
|
---|
57 | $dnsheader_confPath="$home/dns/dnsheader.conf";
|
---|
58 |
|
---|
59 |
|
---|
60 | ## ssh key variablen ##
|
---|
61 | #global ssh_keys
|
---|
62 | $global_keyPath="$home/nodes/global_keys";
|
---|
63 | #node specific
|
---|
64 | $ssh_file='ssh_key'
|
---|
65 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.