From: Michael Tremer Date: Tue, 9 Apr 2024 16:08:33 +0000 (+0200) Subject: ovpnmain.cgi: Remove left-over code X-Git-Tag: v2.29-core197~25^2~131 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fe5e31568be0758ec27b12a87f75640bc1bef813;p=ipfire-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