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=6cd62628fbc3155e7c15c1d052b5eb6b02de0a07;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 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