daemon: updated formatting for frr changes

This commit is contained in:
Blake Harnden 2023-04-13 21:25:49 -07:00
parent d9f2ca8491
commit 18ac8d5620
2 changed files with 4 additions and 2 deletions

View file

@ -104,7 +104,8 @@ class FRRZebra(ConfigService):
"frr_bin_search", default="/usr/local/bin /usr/bin /usr/lib/frr" "frr_bin_search", default="/usr/local/bin /usr/bin /usr/lib/frr"
).strip('"') ).strip('"')
frr_sbin_search = self.node.session.options.get( frr_sbin_search = self.node.session.options.get(
"frr_sbin_search", default="/usr/local/sbin /usr/sbin /usr/lib/frr /usr/libexec/frr" "frr_sbin_search",
default="/usr/local/sbin /usr/sbin /usr/lib/frr /usr/libexec/frr",
).strip('"') ).strip('"')
services = [] services = []

View file

@ -142,7 +142,8 @@ class FRRZebra(CoreService):
"frr_bin_search", '"/usr/local/bin /usr/bin /usr/lib/frr"' "frr_bin_search", '"/usr/local/bin /usr/bin /usr/lib/frr"'
) )
frr_sbin_search = node.session.options.get( frr_sbin_search = node.session.options.get(
"frr_sbin_search", '"/usr/local/sbin /usr/sbin /usr/lib/frr /usr/libexec/frr"' "frr_sbin_search",
'"/usr/local/sbin /usr/sbin /usr/lib/frr /usr/libexec/frr"',
) )
cfg = f"""\ cfg = f"""\
#!/bin/sh #!/bin/sh