diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-05-18 22:28:47 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-05-18 22:28:47 +0200 |
commit | 21d97ba0651fc20bded91e22e00a402d0044da3c (patch) | |
tree | 95ef4d9fc1c34bb31114d6e1d303df03004a46a0 /op-mode-definitions/ipv4-route.xml.in | |
parent | b76931e6d3a4bd0cdb74ca447a746ab6855fcf55 (diff) | |
download | vyos-1x-21d97ba0651fc20bded91e22e00a402d0044da3c.tar.gz vyos-1x-21d97ba0651fc20bded91e22e00a402d0044da3c.zip |
op-mode: drop full path to iproute2 binary
Diffstat (limited to 'op-mode-definitions/ipv4-route.xml.in')
-rw-r--r-- | op-mode-definitions/ipv4-route.xml.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/op-mode-definitions/ipv4-route.xml.in b/op-mode-definitions/ipv4-route.xml.in index 1bda3ac11..aab3df0f1 100644 --- a/op-mode-definitions/ipv4-route.xml.in +++ b/op-mode-definitions/ipv4-route.xml.in @@ -43,7 +43,7 @@ <list><x.x.x.x></list> </completionHelp> </properties> - <command>sudo /sbin/ip neigh flush to "$5"</command> + <command>sudo ip neigh flush to "$5"</command> </tagNode> <tagNode name="interface"> <properties> @@ -52,7 +52,7 @@ <script>${vyos_completion_dir}/list_interfaces.py</script> </completionHelp> </properties> - <command>sudo /sbin/ip neigh flush dev "$5"</command> + <command>sudo ip neigh flush dev "$5"</command> </tagNode> </children> </node> @@ -66,7 +66,7 @@ <properties> <help>Flush the kernel route cache</help> </properties> - <command>sudo /sbin/ip route flush cache</command> + <command>sudo ip route flush cache</command> </leafNode> <tagNode name="cache"> @@ -76,7 +76,7 @@ <list><x.x.x.x> <x.x.x.x/x></list> </completionHelp> </properties> - <command>sudo /sbin/ip route flush cache "$5"</command> + <command>sudo ip route flush cache "$5"</command> </tagNode> </children> </node> |