dhcpcd.exe: Ignore some events

We don't want any log messages printed.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2022-12-01 17:23:13 +00:00
committed by Peter Müller
parent e3da491238
commit ece96c6f56

View File

@@ -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: ${reason}"
;;