From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4c9QGh2yGHz3004 for ; Mon, 25 Aug 2025 09:19:24 +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) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4c9QGc61zfz2yxC for ; Mon, 25 Aug 2025 09:19:20 +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 RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4c9QGc1txCz3Fq; Mon, 25 Aug 2025 09:19:20 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1756113560; 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: in-reply-to:in-reply-to:references:references; bh=TYGf39nX4N+9p54Mv11hev/zKsNYEtbJRH4EX2A6/rk=; b=0lu+3dInPgD3ImS1IzHdWQSSnW4E/mwwx83P06Cb4iPayyPwyA6kAoRSCwS+SB0COO/UI2 RC/w7y1ZTg90NPAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1756113560; 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: in-reply-to:in-reply-to:references:references; bh=TYGf39nX4N+9p54Mv11hev/zKsNYEtbJRH4EX2A6/rk=; b=du8PT1aCC1uvjD0hQobDNpFBQeVVv5wDK37dPNQTn/XSbrlpEo6wCXnAl35IjEcA81ZKfl ZOVQfSTg3+PsbMg8dgYAYIeWJ/0JfKGYeztyDjSB0T1Zp9tVJNWSg3lu1rtW4JDDoclh7b EJvW7WFTDsonmqG3oeTBODZNKir4166oUI3uj00xZtRClJw7xQ3DNkDnh422xwZyqFuTeS ZLvDOsmnyB2vdGglvkUZ0TbNo2bRkApKSzDLM4iFHmDKs9vK6pFTv/DZ7/R8ak5hjUzKXv DuCeeJIbiSNEynxm59Ys960cDvVctC+h4xx6eC25PsLRqI1lEQpKDMfpWn85hQ== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH 2/2] update.sh: Ensure ncp-disable is removed from config and DATACIPHERS added Date: Mon, 25 Aug 2025 11:19:14 +0200 Message-ID: <20250825091914.5761-2-adolf.belka@ipfire.org> In-Reply-To: <20250825091914.5761-1-adolf.belka@ipfire.org> References: <20250825091914.5761-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit - This is doing the same thing as the other patch of this series dealing with backup.pl Signed-off-by: Adolf Belka --- config/rootfiles/core/197/update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/rootfiles/core/197/update.sh b/config/rootfiles/core/197/update.sh index 0fd5cc6f0..f1800b2c0 100644 --- a/config/rootfiles/core/197/update.sh +++ b/config/rootfiles/core/197/update.sh @@ -123,6 +123,10 @@ ldconfig /usr/local/bin/filesystem-cleanup # Update the OpenVPN configuration +if grep -q "ncp-disable" /var/ipfire/ovpn/server.conf; then + sed -r -e "/ncp-disable/d" -i /var/ipfire/ovpn/server.conf + echo "DATACIPHERS=AES-256-GCM|AES-128-GCM|CHACHA20-POLY1305" >> /var/ipfire/ovpn/settings +fi sudo -u nobody /srv/web/ipfire/cgi-bin/ovpnmain.cgi # Apply SSH configuration -- 2.50.1