mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
add better debugging. version check quiet.
git-svn-id: http://www.observium.org/svn/observer/trunk@2472 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -18,6 +18,15 @@ include_once($config['install_dir'] . "/includes/services.inc.php");
|
||||
include_once($config['install_dir'] . "/includes/dbFacile.php");
|
||||
include_once($config['install_dir'] . "/includes/console_colour.php");
|
||||
|
||||
function external_exec($command)
|
||||
{
|
||||
global $debug;
|
||||
if($debug) { echo($command."/n"); }
|
||||
$output = shell_exec($command);
|
||||
if($debug) { echo($output."/n"); }
|
||||
return $output;
|
||||
}
|
||||
|
||||
|
||||
function mac_clean_to_readable($mac)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user