From c88b2442c23bb715334edcb673a3a0f9a2743aa2 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 1 Dec 2019 11:42:54 +0100 Subject: pppoe: T1318: add op-mode commands for link information --- src/completion/list_pppoe_peers.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 src/completion/list_pppoe_peers.sh (limited to 'src') diff --git a/src/completion/list_pppoe_peers.sh b/src/completion/list_pppoe_peers.sh new file mode 100755 index 000000000..382a29264 --- /dev/null +++ b/src/completion/list_pppoe_peers.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +if [ -d /etc/ppp/peers ]; then + cd /etc/ppp/peers + ls pppoe* +fi -- cgit v1.2.3