Use relative path for fping6

fping6 will be in /usr/bin on Debian-based systems, but /usr/sbin on CentOS.
Have PHP figure out where fping6 is, to avoid breaking existing setups on CentOS.
This commit is contained in:
Nils Steinger
2015-09-22 14:57:23 +02:00
parent ac001191dc
commit 772d1762a7
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ $config['own_hostname'] = 'localhost';
// Location of executables
$config['rrdtool'] = '/usr/bin/rrdtool';
$config['fping'] = '/usr/bin/fping';
$config['fping6'] = '/usr/bin/fping6';
$config['fping6'] = 'fping6';
$config['fping_options']['retries'] = 3;
$config['fping_options']['timeout'] = 500;
$config['fping_options']['count'] = 3;