";
print "
Click to debug -- or -- ";
print "
Here for more information
";
$bail = "y"; ;
}
if (! $ver) {
$ver = "unconfigured";
$bail = "y"; ;
}
if (! $arch) {
$arch = "i386";
}
if (! $group) {
$group = "";
}
if (! $serial) {
$serial = "00000000";
}
if (! $enable) {
$enable = "00000000";
}
if ($debug) {
$debug_array = array();
$debug_array[] = "yv|$yv";
$debug_array[] = "dist|$dist";
$debug_array[] = "ver|$ver";
$debug_array[] = "arch|$arch";
$debug_array[] = "group|$group";
$debug_array[] = "serial|$serial";
$debug_array[] = "enable|$enable";
$debug_array[] = "debug|$debug";
print "
";
foreach($debug_array as $debug_element) {
list($d_name,$d_val) = explode("|",$debug_element);
print "| $d_name | $d_val |
";
}
print "
";
$bail = "y"; ;
}
if ($bail) {
print "
This page provided by Owl River Company
for private non-commercial use. Usage is monitored, and
excessive use will be restricted.
";
sleep (3);
//
// IP logging and limit counters here --
// this code is not present in the GPL version
// We set serial to a negative number to silently disable -- we
// permit N access, plus and minus jitter, per day from
// a given IP C class. per ACL, and enable key control
//
// We have also added the serial/enable access control for
// our non-VPN commercial service
// -- see: http://www.owlriver.com/support/wings/
//
exit ;
}
//
// Finally -- do something interesting.
//
$known = array();
$known[] = "7.3|RHL|i386|yum-7.3-i386.conf";
$known[] = "8.0|RHL|i386|yum-8.0-i386.conf";
$known[] = "7.3|RHL|sparc|yum-7.3-sparc.conf";
$known[] = "8.0|RHL|sparc|yum-8.0-sparc.conf";
//
// We use a linkfarm to simplify maintenance -- it
// names files down in the directories more simply than
// the parents linked to
//
foreach($known as $know) {
list($t_ver,$t_dist,$t_arch,$r_conf) = explode("|",$know);
if ("$t_arch" == "null") {
$t_arch = "";
}
if ("$ver" == "$t_ver" && "$arch" == "$t_arch" ) {
$p_conf = "";
if (file_exists("./$group/$arch/$r_conf")) {
$p_conf = "./$group/$arch/$r_conf";
} else {
$p_conf = "./$arch/$r_conf";
}
if (file_exists("$p_conf")) {
include $p_conf ;
}
exit ;
}
}
print "ERROR: no file $p_conf found
\n";
print " arch: $arch
\n";
print " ver: $ver
\n";
//
?>