diff options
-rw-r--r-- | op-mode-definitions/connect-disconnect.xml | 2 | ||||
-rw-r--r-- | op-mode-definitions/show-interfaces-wirelessmodem.xml | 4 | ||||
-rwxr-xr-x | src/completion/list_wlm_peers.sh | 6 |
3 files changed, 4 insertions, 8 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> diff --git a/src/completion/list_wlm_peers.sh b/src/completion/list_wlm_peers.sh deleted file mode 100755 index 12dd00650..000000000 --- a/src/completion/list_wlm_peers.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -if [ -d /etc/ppp/peers ]; then - cd /etc/ppp/peers - ls wlm* -fi |