From fe5e31568be0758ec27b12a87f75640bc1bef813 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 479d35170..16f457fb3 100644 --- a/html/cgi-bin/ovpnmain.cgi +++ b/html/cgi-bin/ovpnmain.cgi @@ -5223,20 +5223,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.47.3