From patchwork Sat Sep 19 16:13:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 3472 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4BtwkH6bB7z3x3C for ; Sat, 19 Sep 2020 16:13:59 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4BtwkG1SRYzD0; Sat, 19 Sep 2020 16:13:58 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4BtwkF6nXWz2y37; Sat, 19 Sep 2020 16:13:57 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4BtwkD0jsKz2xZC for ; Sat, 19 Sep 2020 16:13:56 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 4BtwkC1BB7zD0; Sat, 19 Sep 2020 16:13:55 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1600532035; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=cKa6uDYPFKNpwIiaKUVi4DTFG49SSiTDikcw7oFwk8c=; b=uXbWW7Tt4n6rUe7Ym2Bnx2BtmIW/1eoJOQVngcx4bnjtcRCW/RAuxd0at1FzqT8uy0HrVG 6ABnsOfq7WXmnhDw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1600532035; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=cKa6uDYPFKNpwIiaKUVi4DTFG49SSiTDikcw7oFwk8c=; b=WDNsfPuBNGU2fzCwuLmmmha6lkKq9fauxcOWxezinfUieciXvaYdIkRLRuzUDBxNTe15b5 KXCyzXIFTHVBSi1uAzZt+6dhtfTVDSsAZKWpwQQYLPfCipv13OX1a/SWy7T3kZXfJyrZug t85OUhpKDKrFHieQlWbVtc/pVvWRov8wHAeWkfLNTG6uuymg78iqBb22X0BQXGPFUNEDtL fnME9O9yJjLwoVmi2FzFCb4rz6eGQWSGJ6KO6rvp7yaeJtsNFLqWGbiOggjDy5kYHt7si2 DvaC8U0JJBpZpMtkHys6HyIT9iEKiQCL0rys+7UXg3m/sXCgNQMCVoH3MHra/Q== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH] index.cgi: Fix CPU architecture check Date: Sat, 19 Sep 2020 16:13:51 +0000 Message-Id: <20200919161351.10140-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- 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 8e7207d0c..5aec4c594 100644 --- a/html/cgi-bin/index.cgi +++ b/html/cgi-bin/index.cgi @@ -547,7 +547,7 @@ if ( ! -e "/var/ipfire/main/send_profile") { # Legacy architecture my ($sysname, $nodename, $release, $version, $machine) = &POSIX::uname(); -if ($machine =~ m/^i?86$/) { +if ($machine =~ m/^i.86$/) { $warnmessage .= "
  • $Lang::tr{'legacy architecture warning'}
  • "; }