summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-23 20:19:13 +0200
committerChristian Poessinger <christian@poessinger.com>2020-05-23 20:19:13 +0200
commit8f4e95870d131f0230d20e1751c0ec6f3de6e6bd (patch)
tree4b079e58bff607e8312435b1cc9b8d171d4072e6 /templates
parentea13b23b1844d2381f2320a51be8369247313dba (diff)
downloadvyatta-op-8f4e95870d131f0230d20e1751c0ec6f3de6e6bd.tar.gz
vyatta-op-8f4e95870d131f0230d20e1751c0ec6f3de6e6bd.zip
ping: T2457: migrate script to vyos-1x
Diffstat (limited to 'templates')
-rw-r--r--templates/ping/node.tag/node.def2
-rw-r--r--templates/ping/node.tag/node.tag/node.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/ping/node.tag/node.def b/templates/ping/node.tag/node.def
index 2706be4..735631e 100644
--- a/templates/ping/node.tag/node.def
+++ b/templates/ping/node.tag/node.def
@@ -1,3 +1,3 @@
help: Send Internet Control Message Protocol (ICMP) echo request
allowed: echo -n '<hostname> <x.x.x.x> <h:h:h:h:h:h:h:h>'
-run: ${vyatta_bindir}/ping ${@:2}
+run: ${vyos_op_scripts_dir}/ping.py ${@:2}
diff --git a/templates/ping/node.tag/node.tag/node.def b/templates/ping/node.tag/node.tag/node.def
index a231d68..66fffb2 100644
--- a/templates/ping/node.tag/node.tag/node.def
+++ b/templates/ping/node.tag/node.tag/node.def
@@ -1,3 +1,3 @@
help: Ping options
allowed: ${vyatta_bindir}/ping --get-options "${COMP_WORDS[@]}"
-run: ${vyatta_bindir}/ping ${@:2}
+run: ${vyos_op_scripts_dir}/ping.py ${@:2}