mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/frr: fix service probing
PR: https://forum.opnsense.org/index.php?topic=6863.0
This commit is contained in:
@@ -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'
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user