Changeset 4174 in genesis for tools/g_list.pl
- Timestamp:
- Mar 27, 2005, 2:11:21 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/g_list.pl
r4128 r4174 1 1 #!/usr/bin/perl -w 2 2 # 3 # Copyright 2005 Stichting Wireless Leiden 4 # Rick van der Zwet 3 5 # 4 # 5 6 7 #filelist 8 my @filelist = (); 9 $filelist[0]="dhcpd.conf"; 10 $filelist[1]="rc.local"; 11 $filelist[2]="rc.node.local"; 12 $filelist[3]="resolv.conf"; 13 $filelist[4]="named.conf"; 14 $filelist[5]="snmpd.local.conf"; 15 $filelist[6]="txtconfig"; 16 17 #(inter)net env 18 my $hostname=`hostname`; 19 chomp($hostname); 20 my $cgi_dir="http://$hostname/cgi-bin"; 21 my $source="$cgi_dir/g_list.pl"; 22 23 #path variablen 24 my $home="/home/genesis"; 25 my $ndir="$home/nodes"; 26 my $toolfile="$home/tools/wleiden.pl"; 27 28 #exec vars 29 my $svn="/usr/local/bin/svn"; 30 31 #naming vars 32 my $configfile="wleiden.conf"; 33 34 ######################## END OF CONFIG ########################## 6 7 # Config located at other file 8 my $conf_file="/home/genesis/tools/genesis.conf"; 9 do($conf_file) || die("Cann't open $conf_file"); 10 11 12 35 13 my $HTML=1; 36 14
Note:
See TracChangeset
for help on using the changeset viewer.