From b136bd5bbb29c440d2c2745348cc5309698a3017 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 25 May 2020 21:25:41 +0200 Subject: wwan: T1988: use "path" completion helper over dedicated shell script --- op-mode-definitions/connect-disconnect.xml | 2 ++ op-mode-definitions/show-interfaces-wirelessmodem.xml | 4 ++-- src/completion/list_wlm_peers.sh | 6 ------ 3 files changed, 4 insertions(+), 8 deletions(-) delete mode 100755 src/completion/list_wlm_peers.sh 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 @@ Bring up a connection-oriented network interface interfaces pppoe + interfaces wirelessmodem sudo ${vyos_op_scripts_dir}/connect_disconnect.py --connect "$3" @@ -26,6 +27,7 @@ Take down a connection-oriented network interface interfaces pppoe + interfaces wirelessmodem sudo ${vyos_op_scripts_dir}/connect_disconnect.py --disconnect "$3" 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 @@ Show Wireless Modem (WWAN) interface information - + interfaces wirelessmodem ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" @@ -17,7 +17,7 @@ Show specified wirelessmodem interface statistics - + interfaces wirelessmodem /usr/sbin/pppstats $4 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 -- cgit v1.2.3