Skip to content

Commit

Permalink
net/frr: fix service probing
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Jan 14, 2018
1 parent 101353d commit 7bc1c20
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions net/frr/src/etc/inc/plugins.inc.d/frr.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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'
);
}

Expand Down

1 comment on commit 7bc1c20

@fabianfrz
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fichtner creates the patch faster then I can respond.

Please sign in to comment.