summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-06-11 15:55:11 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-14 17:30:46 +0200
commit54763e12662d465a038c424ea7baf565cca7be76 (patch)
tree82732dcf6bde62a81c240caf3661efa92deb2c7b
parentfbe092cc70bd90af5fc2d746935b51f31a4cc629 (diff)
downloadsystemd-54763e12662d465a038c424ea7baf565cca7be76.tar.gz
remote-fs.target: do not order after network.target
remote-fs.target is ordered after the {auto,}mount units. In case of automount we do not want to wait for the network to come up before proceeding. In case of a regular mount unit, the unit will be ordered after network.target so the behavior is unchanged. This speeds up boot quite a bit for me when having some services needing NetworkManager-wait-online.service, and having my home partition on nfs under an automountpoint.
-rw-r--r--units/.gitignore1
-rw-r--r--units/remote-fs.target (renamed from units/remote-fs.target.m4)5
2 files changed, 0 insertions, 6 deletions
diff --git a/units/.gitignore b/units/.gitignore
index fe23b12266..f969466bd7 100644
--- a/units/.gitignore
+++ b/units/.gitignore
@@ -31,7 +31,6 @@ systemd-random-seed-save.service
systemd-initctl.service
systemd-logger.service
getty@.service
-remote-fs.target
systemd-update-utmp-runlevel.service
systemd-update-utmp-shutdown.service
test-env-replace
diff --git a/units/remote-fs.target.m4 b/units/remote-fs.target
index 53054b6ec4..a48f87e5dd 100644
--- a/units/remote-fs.target.m4
+++ b/units/remote-fs.target
@@ -9,11 +9,6 @@
[Unit]
Description=Remote File Systems
-m4_dnl
-m4_ifdef(`FOR_SYSTEM',
-m4_dnl When running in system mode we need the network up
-After=network.target
-)m4_dnl
[Install]
WantedBy=multi-user.target