From patchwork Fri Oct 21 14:15:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 6064 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 "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4Mv61w1jMTz3wcv for ; Fri, 21 Oct 2022 14:15:32 +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 "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4Mv61s4w1tz2kV; Fri, 21 Oct 2022 14:15:29 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Mv61s3Fw5z2y9h; Fri, 21 Oct 2022 14:15:29 +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 "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Mv61r3VXbz2xWH for ; Fri, 21 Oct 2022 14:15:28 +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) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4Mv61q5DkRzyn; Fri, 21 Oct 2022 14:15:27 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1666361728; 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=4W8kkjNWzxf6F9dXF/jZMyjlDZUitjKD2yqXDnJd1ew=; b=RaGYEiSinizlK3XO9erlqFVEqjtKjV/0Pbr96INsJfBvoqsrL05R5U6eiTZDK5O6VLiWZu TWC2ctNFwX1entCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1666361728; 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=4W8kkjNWzxf6F9dXF/jZMyjlDZUitjKD2yqXDnJd1ew=; b=p6NFi7MhiYGHxi1pfh4Bez3IZM8vbi4qGuLiIzQfhgoR2T0di9ehe0ixV5THVPHvp8n2bv YvuZ2yjN4KkvooEYL+1Rx2GvlbxSXH9qCrw6kXFSgsvdHLJ1K2uTyDJ/22Ys4BbFlAA5/k nm7PxHW6tC0qzjAC84roz1mPEWH+1PvozRA6AwHU41axLaSeLiHjhUvooagX8P5aF6dl8e JhU3Nb2fU0nI90WqMiGzTB3p+H2BMp2+mkZHgaf2VDMwpGa0a48w48RVtUBj9l8YAjiLv5 JmTbDn6xc09sfSzm3LzFsWhodeWzVThA2Lx3PrahS7pceuNBsqqNyw61SUQEzw== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] QMI: Update red/iface file when using QMI. Date: Fri, 21 Oct 2022 16:15:20 +0200 Message-Id: <20221021141520.3697-1-stefan.schantl@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: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Stefan Schantl --- src/initscripts/networking/red | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/initscripts/networking/red b/src/initscripts/networking/red index f927ddbfb..16d48f3ac 100644 --- a/src/initscripts/networking/red +++ b/src/initscripts/networking/red @@ -226,6 +226,9 @@ case "${1}" in # Set up the interface ip link set "${RED_DEV}" up &>/dev/null + # Write red device name to the corresponding file. + echo -n "${RED_DEV}" > /var/ipfire/red/iface + # Start the DHCP client dhcpcd_start "${RED_DEV}" --dhcp