summaryrefslogtreecommitdiff
path: root/src/completion/list_ntp_servers.sh
diff options
context:
space:
mode:
authorDmytro Aleksandrov <alkersan@gmail.com>2018-08-15 16:13:57 +0300
committerDmytro Aleksandrov <alkersan@gmail.com>2018-08-17 18:08:38 +0300
commit353ab3b0c3f8a6c48f242a4c9cdcebed70f9a022 (patch)
treeafffc8ef2e6fbc246cd63f144db1b2ed016078b3 /src/completion/list_ntp_servers.sh
parentf6836850812eb7826c40c866eb61a03e36f431ab (diff)
downloadvyos-1x-353ab3b0c3f8a6c48f242a4c9cdcebed70f9a022.tar.gz
vyos-1x-353ab3b0c3f8a6c48f242a4c9cdcebed70f9a022.zip
T689: Added ntp and date op mode definition
Diffstat (limited to 'src/completion/list_ntp_servers.sh')
-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"