source: genesis/tools/FreeBSD5_x/genesis.conf@ 5058

Last change on this file since 5058 was 4981, checked in by rick, 19 years ago

Adding rc.local back in

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1#!/usr/bin/perl -w
2#
3# Variable file
4
5$NG = 0;
6
7#debugging variable
8$debug=0;
9
10#author credits
11$author="feb 2003 jasper\@WirelessLeiden.NL \| maart 2005 rick\@WirelessLeiden.NL";
12
13#filelist
14@filelist = ();
15$filelist[0]="dhcpd.conf";
16$filelist[1]="rc.local"; # Always include (as to overwrite existing file)
17$filelist[2]="rc.node.local";
18$filelist[3]="resolv.conf";
19$filelist[4]="named.conf";
20$filelist[5]="snmpd.local.conf";
21$filelist[6]="txtconfig";
22$filelist[7]="authorized_keys";
23
24#(inter)net env
25if( defined $ENV{'SERVER_NAME'} ) {
26 $hostname=$ENV{'SERVER_NAME'};
27}
28else {
29 $hostname=`hostname`;
30};
31
32chomp($hostname);
33$cgi_dir="http://$hostname/cgi-bin";
34$source="$cgi_dir/g_list.pl";
35
36#path variablen
37$home="/home/genesis";
38$ndir="$home/nodes";
39#$toolfile="$home/tools/wleiden.pl";
40#Temp Svn fix
41$toolfile="$home/tools/FreeBSD5_x/wleiden.pl";
42
43
44#exec vars
45$svn="/usr/local/bin/svn";
46$wicontrol='/usr/sbin/wicontrol';
47
48#naming vars
49$configfile="wleiden.conf";
50
51#module IP.pm
52$IP_pmPath='/home/genesis/tools/IP.pm';
53
54#dnsheader.conf
55$dnsheader_confPath='/home/genesis/dns/dnsheader.conf';
56
57
58## ssh key variablen ##
59#global ssh_keys
60$global_keyPath='/home/genesis/nodes/global_keys';
61#node specific
62$ssh_file='ssh_key'
63
Note: See TracBrowser for help on using the repository browser.