Last change
on this file since 4174 was 4174, checked in by rick, 20 years ago |
-Add support for ssh-keys
-Global config file
|
File size:
1018 bytes
|
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 | $hostname=`hostname`;
|
---|
24 | chomp($hostname);
|
---|
25 | $cgi_dir="http://$hostname/cgi-bin";
|
---|
26 | $source="$cgi_dir/g_list.pl";
|
---|
27 |
|
---|
28 | #path variablen
|
---|
29 | $home="/home/genesis";
|
---|
30 | $ndir="$home/nodes";
|
---|
31 | $toolfile="$home/tools/wleiden.pl";
|
---|
32 |
|
---|
33 | #exec vars
|
---|
34 | $svn="/usr/local/bin/svn";
|
---|
35 | $wicontrol='/usr/sbin/wicontrol';
|
---|
36 |
|
---|
37 | #naming vars
|
---|
38 | $configfile="wleiden.conf";
|
---|
39 |
|
---|
40 | #module IP.pm
|
---|
41 | $IP_pmPath='/home/genesis/tools/IP.pm';
|
---|
42 |
|
---|
43 | #dnsheader.conf
|
---|
44 | $dnsheader_confPath='/home/genesis/dns/dnsheader.conf';
|
---|
45 |
|
---|
46 |
|
---|
47 | ## ssh key variablen ##
|
---|
48 | #global ssh_keys
|
---|
49 | $global_keyPath='/home/genesis/nodes/global_keys';
|
---|
50 | #node specific
|
---|
51 | $ssh_file='ssh_key'
|
---|
52 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.