mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-11 01:40:49 -04:00
net/frr: fix service probing
PR: https://forum.opnsense.org/index.php?topic=6863.0
This commit is contained in:
parent
101353da69
commit
7bc1c20880
1 changed files with 5 additions and 4 deletions
|
|
@ -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'
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue