From 901942ff821c2bc483e85470ec5066cca824e54c Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Fri, 1 Mar 2019 17:50:10 +0800 Subject: [PATCH] Update index.py --- plugins/l2tp/index.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/l2tp/index.py b/plugins/l2tp/index.py index 92552823d..1130fb6a3 100755 --- a/plugins/l2tp/index.py +++ b/plugins/l2tp/index.py @@ -65,14 +65,14 @@ def status(): def start(): - data = public.execShell(file + ' start') + data = public.execShell('service xl2tpd start') if data[1] == '': return 'ok' return data[1] def stop(): - data = public.execShell(file + ' stop') + data = public.execShell('service xl2tpd stop') if data[1] == '': return 'ok' return data[1]