summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2021-03-15 14:27:28 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2021-03-19 08:41:40 +0100
commitecb610674bb85b65d3d27f57f71a5cb9f7aef10a (patch)
tree932829f913bd31166be807918a283dc0851d72ae
parent0067253c890f3eb7d8fb01a0d2975f11ea8b1f76 (diff)
downloadptxdist-ecb610674bb85b65d3d27f57f71a5cb9f7aef10a.tar.gz
ptxdist-ecb610674bb85b65d3d27f57f71a5cb9f7aef10a.tar.xz
ifupdown: Drop default dependencies of ifupdown.service
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> Message-Id: <20210315132728.22554-1-u.kleine-koenig@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--projectroot/usr/lib/systemd/system/ifupdown.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/projectroot/usr/lib/systemd/system/ifupdown.service b/projectroot/usr/lib/systemd/system/ifupdown.service
index f9dd5b473..4531ef443 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