Last change
on this file since 4471 was 4317, checked in by dirkx, 20 years ago |
Fixing line types
|
-
Property svn:eol-style
set to
native
|
File size:
1.1 KB
|
Rev | Line | |
---|
[4174] | 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";
|
---|
[4205] | 14 | $filelist[2]="rc.node.local";
|
---|
[4174] | 15 | $filelist[3]="resolv.conf";
|
---|
| 16 | $filelist[4]="named.conf";
|
---|
| 17 | $filelist[5]="snmpd.local.conf";
|
---|
| 18 | $filelist[6]="txtconfig";
|
---|
| 19 | $filelist[7]="authorized_keys";
|
---|
| 20 |
|
---|
| 21 | #(inter)net env
|
---|
[4205] | 22 | if( defined $ENV{'SERVER_NAME'} ) {
|
---|
| 23 | $hostname=$ENV{'SERVER_NAME'};
|
---|
| 24 | }
|
---|
| 25 | else {
|
---|
| 26 | $hostname=`hostname`;
|
---|
| 27 | };
|
---|
| 28 |
|
---|
[4174] | 29 | chomp($hostname);
|
---|
| 30 | $cgi_dir="http://$hostname/cgi-bin";
|
---|
| 31 | $source="$cgi_dir/g_list.pl";
|
---|
| 32 |
|
---|
| 33 | #path variablen
|
---|
| 34 | $home="/home/genesis";
|
---|
| 35 | $ndir="$home/nodes";
|
---|
[4205] | 36 | #$toolfile="$home/tools/wleiden.pl";
|
---|
| 37 | #Temp Svn fix
|
---|
| 38 | $toolfile="$home/tools/FreeBSD5_x/wleiden.pl";
|
---|
[4174] | 39 |
|
---|
[4205] | 40 |
|
---|
[4174] | 41 | #exec vars
|
---|
| 42 | $svn="/usr/local/bin/svn";
|
---|
| 43 | $wicontrol='/usr/sbin/wicontrol';
|
---|
| 44 |
|
---|
| 45 | #naming vars
|
---|
| 46 | $configfile="wleiden.conf";
|
---|
| 47 |
|
---|
| 48 | #module IP.pm
|
---|
| 49 | $IP_pmPath='/home/genesis/tools/IP.pm';
|
---|
| 50 |
|
---|
| 51 | #dnsheader.conf
|
---|
| 52 | $dnsheader_confPath='/home/genesis/dns/dnsheader.conf';
|
---|
| 53 |
|
---|
| 54 |
|
---|
| 55 | ## ssh key variablen ##
|
---|
| 56 | #global ssh_keys
|
---|
| 57 | $global_keyPath='/home/genesis/nodes/global_keys';
|
---|
| 58 | #node specific
|
---|
| 59 | $ssh_file='ssh_key'
|
---|
| 60 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.