From 419bcd5311bce2340a7f920cb966869c8c23bb63 Mon Sep 17 00:00:00 2001 From: DmitriyEshenko Date: Fri, 3 Jan 2020 11:09:28 +0000 Subject: pppoe-server: T1936: Add reset/control sessions features --- op-mode-definitions/pppoe-server.xml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/pppoe-server.xml b/op-mode-definitions/pppoe-server.xml index 1f6f7f844..13a4570e8 100644 --- a/op-mode-definitions/pppoe-server.xml +++ b/op-mode-definitions/pppoe-server.xml @@ -39,4 +39,36 @@ + + + Reset a service + + + + + Reset PPPoE server sessions + + + + + Terminate all pppoe-server users + + /usr/bin/accel-cmd terminate all + + + + Terminate a ppp interface + + /usr/bin/accel-cmd terminate if "$4" + + + + Terminate specified users + + /usr/bin/accel-cmd terminate match username "$4" + + + + + -- cgit v1.2.3