diff options
author | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2020-05-28 10:55:32 +0000 |
---|---|---|
committer | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2020-05-28 10:55:32 +0000 |
commit | b24432ac81ab582b252e4ea3fc0d7d0ba6f4580f (patch) | |
tree | 01a25792de99c50fc2ff27cc17f48022694553cd | |
parent | 010f9c700c20510749d6b435fe4962ac822c6456 (diff) | |
download | vyatta-cfg-quagga-b24432ac81ab582b252e4ea3fc0d7d0ba6f4580f.tar.gz vyatta-cfg-quagga-b24432ac81ab582b252e4ea3fc0d7d0ba6f4580f.zip |
link-detect: T2517: Fix path to zebra daemon
-rwxr-xr-x | scripts/vyatta-link-detect | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/vyatta-link-detect b/scripts/vyatta-link-detect index 72874571..aecc0cb2 100755 --- a/scripts/vyatta-link-detect +++ b/scripts/vyatta-link-detect @@ -26,12 +26,12 @@ set-sysctl () { case $2 in on) set-sysctl $1 2 - if [ -f /usr/sbin/zebra ]; then + if [ -f /usr/lib/frr/zebra ]; then exec vtysh -c "configure terminal" -c "interface $1" \ - -c "link-detect" + -c "link-detect" fi ;; off) set-sysctl $1 1 - if [ -f /usr/sbin/zebra ]; then + if [ -f /usr/lib/frr/zebra ]; then exec vtysh -c "configure terminal" -c "interface $1" \ -c "no link-detect" fi ;; |