From: Michael Tremer Date: Tue, 9 Apr 2024 16:08:33 +0000 (+0200) Subject: ovpnmain.cgi: Remove left-over code X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fdd429e0954e9e7f004e7f9bf8f07c9d6aef51ae;p=people%2Fms%2Fipfire-2.x.git ovpnmain.cgi: Remove left-over code Signed-off-by: Michael Tremer --- 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