Rev | Line | |
---|
[4746] | 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[2]="rc.node.local";
|
---|
| 15 | $filelist[3]="resolv.conf";
|
---|
| 16 | $filelist[4]="named.conf";
|
---|
| 17 | $filelist[6]="txtconfig";
|
---|
| 18 | $filelist[7]="authorized_keys";
|
---|
| 19 |
|
---|
| 20 | #(inter)net env
|
---|
| 21 | if( defined $ENV{'SERVER_NAME'} ) {
|
---|
| 22 | $hostname=$ENV{'SERVER_NAME'};
|
---|
| 23 | }
|
---|
| 24 | else {
|
---|
| 25 | $hostname=`hostname`;
|
---|
| 26 | };
|
---|
| 27 |
|
---|
| 28 | chomp($hostname);
|
---|
| 29 | $cgi_dir="http://$hostname/cgi-bin";
|
---|
| 30 | $source="$cgi_dir/g_list.pl";
|
---|
| 31 |
|
---|
| 32 | #path variablen
|
---|
| 33 | $home="/home/genesis";
|
---|
| 34 | $ndir="$home/nodes";
|
---|
| 35 | #$toolfile="$home/tools/wleiden.pl";
|
---|
| 36 | #Temp Svn fix
|
---|
| 37 | $toolfile="$home/tools/FreeBSD6_x/wleiden.pl";
|
---|
| 38 |
|
---|
| 39 |
|
---|
| 40 | #exec vars
|
---|
| 41 | $svn="/usr/local/bin/svn";
|
---|
| 42 | $wicontrol='/usr/sbin/wicontrol';
|
---|
| 43 |
|
---|
| 44 | #naming vars
|
---|
| 45 | $configfile="wleiden.conf";
|
---|
| 46 |
|
---|
| 47 | #module IP.pm
|
---|
| 48 | $IP_pmPath='/home/genesis/tools/IP.pm';
|
---|
| 49 |
|
---|
| 50 | #dnsheader.conf
|
---|
| 51 | $dnsheader_confPath='/home/genesis/dns/dnsheader.conf';
|
---|
| 52 |
|
---|
| 53 |
|
---|
| 54 | ## ssh key variablen ##
|
---|
| 55 | #global ssh_keys
|
---|
| 56 | $global_keyPath='/home/genesis/nodes/global_keys';
|
---|
| 57 | #node specific
|
---|
| 58 | $ssh_file='ssh_key'
|
---|
| 59 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.