net/frr: fix service probing

PR: https://forum.opnsense.org/index.php?topic=6863.0
This commit is contained in:
Franco Fichtner
2018-01-14 16:25:59 +01:00
parent 101353da69
commit 7bc1c20880
+5 -4
View File
@@ -85,16 +85,17 @@ function frr_services()
$services = array();
if (isset($config['OPNsense']['quagga']['general']['enabled']) && $config['OPNsense']['quagga']['general']['enabled'] == 1) {
if (isset($config['OPNsense']['quagga']['general']['enabled']) &&
$config['OPNsense']['quagga']['general']['enabled'] == 1) {
$services[] = array(
'description' => gettext('Quagga is a deamon to add support of various routing protocols.'),
'description' => gettext('FRRouting daemon'),
'configd' => array(
'restart' => array('quagga restart'),
'start' => array('quagga start'),
'stop' => array('quagga stop'),
),
'name' => 'quagga',
'pidfile' => '/var/run/quagga/zebra.pid'
'name' => 'frr',
'pidfile' => '/var/run/frr/zebra.pid'
);
}