Update index.py

pull/109/head
Mr Chen 6 years ago
parent 162d372639
commit 901942ff82
  1. 4
      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]

Loading…
Cancel
Save