From: Michael Tremer Date: Tue, 9 Apr 2024 15:45:46 +0000 (+0200) Subject: ovpnmain.cgi: Remove the old status indicator X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c6dc75d1ea30d53f99691b1cc294b69c5394706d;p=people%2Fms%2Fipfire-2.x.git ovpnmain.cgi: Remove the old status indicator Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/ovpnmain.cgi b/html/cgi-bin/ovpnmain.cgi index 3a5d95b03..f21832e92 100755 --- a/html/cgi-bin/ovpnmain.cgi +++ b/html/cgi-bin/ovpnmain.cgi @@ -5194,15 +5194,9 @@ END exit 0; } - my $sactive = "
$Lang::tr{'stopped'}
"; my $srunning = "no"; - my $activeonrun = ""; if ( -e "/var/run/openvpn.pid"){ - $sactive = "
$Lang::tr{'running'}
"; $srunning ="yes"; - $activeonrun = ""; - } else { - $activeonrun = "disabled='disabled'"; } @@ -5227,8 +5221,6 @@ END print <
- $Lang::tr{'ovpn server status'} - $sactive $Lang::tr{'enabled'} @@ -5253,12 +5245,6 @@ END END ; - if ( $srunning eq "yes" ) { - print ""; - print ""; - print ""; - print ""; - } else{ print ""; print ""; print ""; @@ -5270,7 +5256,6 @@ END } else { print ""; } - } print "
"; &Header::closebox(); @@ -5564,7 +5549,7 @@ END
- +