diff options
author | Christian Breunig <christian@breunig.cc> | 2023-01-22 22:09:13 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-01-22 22:46:32 +0100 |
commit | 237e28f1d2ab48b70058a0f1788da54e43dccb2c (patch) | |
tree | fe756805d0faa34fabc5f4231fcc80afc10eecca | |
parent | 608786f85ee839548cae59cafeedff3ec6b3ae9c (diff) | |
download | vyos-1x-237e28f1d2ab48b70058a0f1788da54e43dccb2c.tar.gz vyos-1x-237e28f1d2ab48b70058a0f1788da54e43dccb2c.zip |
op-mode: sstp: T4384: use <path> completion helper over <script>
The script completion helper will only show SSTP client interfaces already
created and beeing active in the Kernel. The path completion helper shows the
real CLI deal.
-rw-r--r-- | op-mode-definitions/monitor-log.xml.in | 2 | ||||
-rw-r--r-- | op-mode-definitions/show-log.xml.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/op-mode-definitions/monitor-log.xml.in b/op-mode-definitions/monitor-log.xml.in index aaf1d316e..212f4a54b 100644 --- a/op-mode-definitions/monitor-log.xml.in +++ b/op-mode-definitions/monitor-log.xml.in @@ -246,7 +246,7 @@ <properties> <help>Monitor last lines of SSTP client log for specific interface</help> <completionHelp> - <script>${vyos_completion_dir}/list_interfaces.py -t sstpc</script> + <path>interfaces sstpc</path> </completionHelp> </properties> <command>journalctl --no-hostname --boot --follow --unit "ppp@$5.service"</command> diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in index 8ba80caf6..cebbdc075 100644 --- a/op-mode-definitions/show-log.xml.in +++ b/op-mode-definitions/show-log.xml.in @@ -378,7 +378,7 @@ <properties> <help>Show SSTP client log on specific interface</help> <completionHelp> - <script>${vyos_completion_dir}/list_interfaces.py -t sstpc</script> + <path>interfaces sstpc</path> </completionHelp> </properties> <command>journalctl --no-hostname --boot --unit "ppp@$5.service"</command> |