From 9ed0cc8221778b3fdcb9f4fab4421eaca0d06a6d Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 22 May 2020 11:21:15 +0200 Subject: pppoe: T2380: drop superfluous list_pppoe_peers.sh --- op-mode-definitions/connect-disconnect.xml | 4 ++-- op-mode-definitions/show-interfaces-pppoe.xml | 4 ++-- src/completion/list_pppoe_peers.sh | 6 ------ 3 files changed, 4 insertions(+), 10 deletions(-) delete mode 100755 src/completion/list_pppoe_peers.sh diff --git a/op-mode-definitions/connect-disconnect.xml b/op-mode-definitions/connect-disconnect.xml index 77c334180..cbce2d9ef 100644 --- a/op-mode-definitions/connect-disconnect.xml +++ b/op-mode-definitions/connect-disconnect.xml @@ -9,7 +9,7 @@ Bring up a connection-oriented network interface - + interfaces pppoe sudo ${vyos_op_scripts_dir}/connect_disconnect.py --connect "$3" @@ -25,7 +25,7 @@ Take down a connection-oriented network interface - + interfaces pppoe sudo ${vyos_op_scripts_dir}/connect_disconnect.py --disconnect "$3" diff --git a/op-mode-definitions/show-interfaces-pppoe.xml b/op-mode-definitions/show-interfaces-pppoe.xml index f9903ee08..cd72bff7d 100644 --- a/op-mode-definitions/show-interfaces-pppoe.xml +++ b/op-mode-definitions/show-interfaces-pppoe.xml @@ -8,7 +8,7 @@ Show PPPoE interface information - + interfaces pppoe ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" @@ -17,7 +17,7 @@ Show specified wirelessmodem interface statistics - + interfaces pppoe /usr/sbin/pppstats $4 diff --git a/src/completion/list_pppoe_peers.sh b/src/completion/list_pppoe_peers.sh deleted file mode 100755 index 382a29264..000000000 --- a/src/completion/list_pppoe_peers.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -if [ -d /etc/ppp/peers ]; then - cd /etc/ppp/peers - ls pppoe* -fi -- cgit v1.2.3