ifupdown can usually be started quite early. There might be some additional
dependencies (e.g. on devices or kernel modules) but these are not formalized
with the default dependencies either. So in this case you have to overwrite
the service for your device anyhow.

Signed-off-by: Uwe Kleine-König <u.kleine-koe...@pengutronix.de>
---
 projectroot/usr/lib/systemd/system/ifupdown.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/projectroot/usr/lib/systemd/system/ifupdown.service 
b/projectroot/usr/lib/systemd/system/ifupdown.service
index f9dd5b473b63..4531ef44326c 100644
--- a/projectroot/usr/lib/systemd/system/ifupdown.service
+++ b/projectroot/usr/lib/systemd/system/ifupdown.service
@@ -1,6 +1,7 @@
 [Unit]
 Description=Handle network interface with ifup/ifdown
 Before=network.target
+DefaultDependencies=no
 
 [Service]
 Type=oneshot
-- 
2.29.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de

Reply via email to