mirror of
https://github.com/opnsense/plugins.git
synced 2026-02-03 20:40:37 -05:00
net/frr: Fix stall on carp hook by redirecting stdout (#5160)
This commit is contained in:
parent
e3bae8e72f
commit
2cc2215bbe
1 changed files with 2 additions and 1 deletions
|
|
@ -49,7 +49,8 @@ if (frr_carp_enabled()) {
|
|||
|
||||
switch ($type) {
|
||||
case 'MASTER':
|
||||
mwexecfm('/usr/local/etc/rc.d/frr start');
|
||||
// XXX: This will stall if stdout is not redirected
|
||||
mwexecfm('/usr/local/etc/rc.d/frr start > /dev/null');
|
||||
break;
|
||||
case 'BACKUP':
|
||||
mwexecfm('/usr/local/etc/rc.d/frr stop');
|
||||
|
|
|
|||
Loading…
Reference in a new issue