From 9ad77f839e404c2735e808ab91e101aabebbada9 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 9 Apr 2024 18:08:33 +0200 Subject: [PATCH] ovpnmain.cgi: Remove left-over code Signed-off-by: Michael Tremer --- html/cgi-bin/ovpnmain.cgi | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/html/cgi-bin/ovpnmain.cgi b/html/cgi-bin/ovpnmain.cgi index 12aff9046..a3f12ebcd 100755 --- a/html/cgi-bin/ovpnmain.cgi +++ b/html/cgi-bin/ovpnmain.cgi @@ -5222,20 +5222,6 @@ END exit 0; } - my $srunning = "no"; - if ( -e "/var/run/openvpn.pid"){ - $srunning ="yes"; - } - - - # Show the service status - &Header::ServiceStatus({ - $Lang::tr{'ovpn roadwarrior server'} => { - "process" => "openvpn", - "pidfile" => "/var/run/openvpn.pid", - } - }); - &Header::openbox('100%', 'LEFT', $Lang::tr{'ovpn roadwarrior settings'}); # Show the service status -- 2.39.5