index.cgi: correct gpl-accepted in gpl_accepted

Message ID 20231214070733.69426-1-sebastien.gislain@gmail.com
State Accepted
Commit 0a60842a284e96420d4a9e07e4649cbad85de273
Headers
Series index.cgi: correct gpl-accepted in gpl_accepted |

Commit Message

Sebastien GISLAIN Dec. 14, 2023, 7:07 a.m. UTC
  ---
 html/cgi-bin/index.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Bernhard Bitsch Dec. 18, 2023, 5:14 p.m. UTC | #1
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>

Am 14.12.2023 um 08:07 schrieb Sebastien GISLAIN:
> ---
>   html/cgi-bin/index.cgi | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/html/cgi-bin/index.cgi b/html/cgi-bin/index.cgi
> index c2c0962dc..adec877cb 100644
> --- a/html/cgi-bin/index.cgi
> +++ b/html/cgi-bin/index.cgi
> @@ -74,7 +74,7 @@ my %mainsettings = ();
>   
>   my $connstate = &Header::connectionstatus();
>   
> -if ( -e "/var/ipfire/main/gpl-accepted" ) {
> +if ( -e "/var/ipfire/main/gpl_accepted" ) {
>   	if ($connstate =~ /$Lang::tr{'connecting'}/ || /$Lang::tr{'connection closed'}/ ){
>   		$refresh = "<meta http-equiv='refresh' content='5;'>";
>   	}elsif ($connstate =~ /$Lang::tr{'dod waiting'}/ || -e "${General::swroot}/main/refreshindex") {
  

Patch

diff --git a/html/cgi-bin/index.cgi b/html/cgi-bin/index.cgi
index c2c0962dc..adec877cb 100644
--- a/html/cgi-bin/index.cgi
+++ b/html/cgi-bin/index.cgi
@@ -74,7 +74,7 @@  my %mainsettings = ();
 
 my $connstate = &Header::connectionstatus();
 
-if ( -e "/var/ipfire/main/gpl-accepted" ) {
+if ( -e "/var/ipfire/main/gpl_accepted" ) {
 	if ($connstate =~ /$Lang::tr{'connecting'}/ || /$Lang::tr{'connection closed'}/ ){
 		$refresh = "<meta http-equiv='refresh' content='5;'>";
 	}elsif ($connstate =~ /$Lang::tr{'dod waiting'}/ || -e "${General::swroot}/main/refreshindex") {