summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-08-17 17:25:06 +0200
committerGitHub <noreply@github.com>2018-08-17 17:25:06 +0200
commit3acb6381bc2a56e70a58b3a19ae817473f8dd5f4 (patch)
treeafffc8ef2e6fbc246cd63f144db1b2ed016078b3 /src
parentf6836850812eb7826c40c866eb61a03e36f431ab (diff)
parent353ab3b0c3f8a6c48f242a4c9cdcebed70f9a022 (diff)
downloadvyos-1x-3acb6381bc2a56e70a58b3a19ae817473f8dd5f4.tar.gz
vyos-1x-3acb6381bc2a56e70a58b3a19ae817473f8dd5f4.zip
Merge pull request #28 from alkersan/ntp_show
T689: Added show ntp op mode definition
Diffstat (limited to 'src')
-rwxr-xr-xsrc/completion/list_ntp_servers.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/completion/list_ntp_servers.sh b/src/completion/list_ntp_servers.sh
new file mode 100755
index 000000000..d0977fbd6
--- /dev/null
+++ b/src/completion/list_ntp_servers.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+# Completion script used to select specific NTP server
+/bin/cli-shell-api -- listEffectiveNodes system ntp server | sed "s/'//g"