Changeset 5881 in genesis for tools/FreeBSD6_x


Ignore:
Timestamp:
Jan 28, 2008, 8:52:13 PM (17 years ago)
Author:
rick
Message:

Genesis config cleanups

Location:
tools/FreeBSD6_x
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tools/FreeBSD6_x/g_list.pl

    r5722 r5881  
    66
    77# Config located at other file
    8 my $local_conf_file="./genesis.conf.local";
    9 do($local_conf_file) || die("Cann't open $local_conf_file");
    10 
     8my $conf_file="./genesis.conf";
    119do($conf_file) || die("Cann't open $conf_file");
     10
    1211
    1312
     
    146145      $revision=$1;
    147146    };
    148     printline("<H1>Genesis config (revision: $revision):</H1><P>\n<PRE>");
     147    printline("<H1>Genesis config - last changed rev $revision</H1><P>\n<PRE>");
    149148    printline("$svn_version");
    150149    printline("</PRE>");
  • tools/FreeBSD6_x/genesis.conf

    r5722 r5881  
    1 #!/usr/bin/perl -
     1#!/usr/bin/perl -w
    22#
    33# Variable file
     
    2626                       );
    2727
     28#(inter)net env
     29if( defined $ENV{'SERVER_NAME'} ) {
     30  $hostname=$ENV{'SERVER_NAME'};
     31}
     32else {
     33  $hostname=`hostname`;
     34};
    2835
     36chomp($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';
    2949
    3050#naming vars
     
    3757$dnsheader_confPath="$home/dns/dnsheader.conf";
    3858
    39 #node dir
    40 $ndir="$home/nodes";
    41 
    42 #wleiden.pl Path
    43 $toolfile="$home/tools/FreeBSD6_x/wleiden.pl";
    4459
    4560## ssh key variablen ##
  • tools/FreeBSD6_x/wleiden.pl

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