Commit d6aef1de authored by maddinxx's avatar maddinxx

fixed wheezy install (taking squeeze atm) as well as monitor

parent d5a51725
......@@ -163,9 +163,9 @@ function get_distname() {
} elseif(strstr(trim(file_get_contents('/etc/debian_version')),'6.0') || trim(file_get_contents('/etc/debian_version')) == 'wheezy/sid') {
$distname = 'Debian';
$distver = 'Wheezy/Sid';
$distid = 'debian70';
$distid = 'debian60';
$distbaseid = 'debian';
swriteln("Operating System: Debian 6.0 (Squeeze/Sid) or compatible\n");
swriteln("Operating System: Debian 7.0 (Wheezy/Sid) or compatible\n");
} else {
$distname = 'Debian';
$distver = 'Unknown';
......
......@@ -135,7 +135,7 @@ class monitor_tools {
} elseif (strstr(trim(file_get_contents('/etc/debian_version')), '7.0') || trim(file_get_contents('/etc/debian_version')) == 'wheezy/sid') {
$distname = 'Debian';
$distver = 'Wheezy/Sid';
$distid = 'debian70';
$distid = 'debian60';
$distbaseid = 'debian';
} else {
$distname = 'Debian';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment