Changeset 5722 in genesis for tools


Ignore:
Timestamp:
Nov 26, 2007, 7:53:00 PM (17 years ago)
Author:
rick
Message:

Made the genesis configuration machine independed and documented how-to
install it

Location:
tools/FreeBSD6_x
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • tools/FreeBSD6_x/g_list.pl

    r5230 r5722  
    66
    77# Config located at other file
    8 my $conf_file="./genesis.conf";
     8my $local_conf_file="./genesis.conf.local";
     9do($local_conf_file) || die("Cann't open $local_conf_file");
     10
    911do($conf_file) || die("Cann't open $conf_file");
    10 
    1112
    1213
  • tools/FreeBSD6_x/genesis.conf

    r5721 r5722  
    1 #!/usr/bin/perl -w
     1#!/usr/bin/perl -
    22#
    33# Variable file
     
    2626                       );
    2727
    28 #(inter)net env
    29 if( defined $ENV{'SERVER_NAME'} ) {
    30   $hostname=$ENV{'SERVER_NAME'};
    31 }
    32 else {
    33   $hostname=`hostname`;
    34 };
    3528
    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/data/wlconfig";
    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';
    4929
    5030#naming vars
     
    5737$dnsheader_confPath="$home/dns/dnsheader.conf";
    5838
     39#node dir
     40$ndir="$home/nodes";
     41
     42#wleiden.pl Path
     43$toolfile="$home/tools/FreeBSD6_x/wleiden.pl";
    5944
    6045## ssh key variablen ##
  • tools/FreeBSD6_x/wleiden.pl

    r5720 r5722  
    66
    77# Config located at other file
    8 my $conf_file="/home/genesis/tools/FreeBSD6_x/genesis.conf";
     8# Config located at other file
     9my $local_conf_file="./genesis.conf.local";
     10do($local_conf_file) || die("Cann't open $local_conf_file");
     11
    912do($conf_file) || die("Cann't open $conf_file");
    1013################ END OF CONFIG ##########################
Note: See TracChangeset for help on using the changeset viewer.