summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-25 21:25:41 +0200
committerChristian Poessinger <christian@poessinger.com>2020-05-26 17:04:43 +0200
commitb136bd5bbb29c440d2c2745348cc5309698a3017 (patch)
tree263a6405a0d3882b61a31245f09dde17a4a4a8fb /op-mode-definitions
parent71eec24a0b69e6ed8b464f79ec44f0ed93bafa0e (diff)
downloadvyos-1x-b136bd5bbb29c440d2c2745348cc5309698a3017.tar.gz
vyos-1x-b136bd5bbb29c440d2c2745348cc5309698a3017.zip
wwan: T1988: use "path" completion helper over dedicated shell script
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/connect-disconnect.xml2
-rw-r--r--op-mode-definitions/show-interfaces-wirelessmodem.xml4
2 files changed, 4 insertions, 2 deletions
diff --git a/op-mode-definitions/connect-disconnect.xml b/op-mode-definitions/connect-disconnect.xml
index cbce2d9ef..f0fcef5da 100644
--- a/op-mode-definitions/connect-disconnect.xml
+++ b/op-mode-definitions/connect-disconnect.xml
@@ -10,6 +10,7 @@
<help>Bring up a connection-oriented network interface</help>
<completionHelp>
<path>interfaces pppoe</path>
+ <path>interfaces wirelessmodem</path>
</completionHelp>
</properties>
<command>sudo ${vyos_op_scripts_dir}/connect_disconnect.py --connect "$3"</command>
@@ -26,6 +27,7 @@
<help>Take down a connection-oriented network interface</help>
<completionHelp>
<path>interfaces pppoe</path>
+ <path>interfaces wirelessmodem</path>
</completionHelp>
</properties>
<command>sudo ${vyos_op_scripts_dir}/connect_disconnect.py --disconnect "$3"</command>
diff --git a/op-mode-definitions/show-interfaces-wirelessmodem.xml b/op-mode-definitions/show-interfaces-wirelessmodem.xml
index d9690f521..b21bb520c 100644
--- a/op-mode-definitions/show-interfaces-wirelessmodem.xml
+++ b/op-mode-definitions/show-interfaces-wirelessmodem.xml
@@ -8,7 +8,7 @@
<properties>
<help>Show Wireless Modem (WWAN) interface information</help>
<completionHelp>
- <script>${vyos_completion_dir}/list_wlm_peers.sh</script>
+ <path>interfaces wirelessmodem</path>
</completionHelp>
</properties>
<command>${vyos_op_scripts_dir}/show_interfaces.py --intf="$4"</command>
@@ -17,7 +17,7 @@
<properties>
<help>Show specified wirelessmodem interface statistics</help>
<completionHelp>
- <script>${vyos_completion_dir}/list_wlm_peers.sh</script>
+ <path>interfaces wirelessmodem</path>
</completionHelp>
</properties>
<command>/usr/sbin/pppstats $4</command>