From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 24/29] dhcpcd.exe: Ignore some events Date: Thu, 01 Dec 2022 17:23:13 +0000 Message-ID: <20221201172318.3166615-24-michael.tremer@ipfire.org> In-Reply-To: <20221201172318.3166615-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6742942294363327866==" List-Id: --===============6742942294363327866== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable We don't want any log messages printed. Signed-off-by: Michael Tremer --- src/initscripts/networking/dhcpcd.exe | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/initscripts/networking/dhcpcd.exe b/src/initscripts/networki= ng/dhcpcd.exe index ee4b00dbd..4ab9fbc43 100644 --- a/src/initscripts/networking/dhcpcd.exe +++ b/src/initscripts/networking/dhcpcd.exe @@ -185,6 +185,9 @@ case "${reason}" in 3RDPARTY) dhcpcd_3rdparty ;; + # Ignored events where we do not need to do anything + STOPPED|CARRIER|NOCARRIER) + ;; *) logger -p "local0.info" -t "dhcpcd.exe[$$]" "Unhandled DHCP event: ${reaso= n}" ;; --=20 2.30.2 --===============6742942294363327866==--