mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] ifupdown: Drop default dependencies of ifupdown.service
Date: Mon, 15 Mar 2021 14:27:28 +0100	[thread overview]
Message-ID: <20210315132728.22554-1-u.kleine-koenig@pengutronix.de> (raw)

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-koenig@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-request@pengutronix.de

             reply	other threads:[~2021-03-15 13:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-15 13:27 Uwe Kleine-König [this message]
2021-03-30 18:07 ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210315132728.22554-1-u.kleine-koenig@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox