mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fenner be quiet
git-svn-id: http://www.observium.org/svn/observer/trunk@2264 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -22,9 +22,12 @@ $runtime_stats = array();
|
||||
|
||||
### Observium Device Discovery
|
||||
|
||||
echo("Observium v".$config['version']." Discovery\n\n");
|
||||
$options = getopt("h:m:i:n:d::a::q");
|
||||
|
||||
$options = getopt("h:m:i:n:d::a::");
|
||||
if (!isset($options['q']))
|
||||
{
|
||||
echo("Observium v".$config['version']." Discovery\n\n");
|
||||
}
|
||||
|
||||
if (isset($options['h']))
|
||||
{
|
||||
@@ -240,7 +243,7 @@ if ($discovered_devices)
|
||||
$string = $argv[0] . " $doing " . date("F j, Y, G:i") . " - $discovered_devices devices discovered in $proctime secs";
|
||||
if ($debug) echo("$string\n");
|
||||
|
||||
if($config['version_check']) {
|
||||
if($config['version_check'] && !isset($options['q'])) {
|
||||
include("includes/versioncheck.inc.php");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user