[systemd-commits] units/.gitignore units/remote-fs.target units/remote-fs.target.m4

Lennart Poettering lennart at kemper.freedesktop.org
Tue Jun 14 08:31:01 PDT 2011


 units/.gitignore          |    1 -
 units/remote-fs.target    |   14 ++++++++++++++
 units/remote-fs.target.m4 |   19 -------------------
 3 files changed, 14 insertions(+), 20 deletions(-)

New commits:
commit 54763e12662d465a038c424ea7baf565cca7be76
Author: Tom Gundersen <teg at jklm.no>
Date:   Sat Jun 11 15:55:11 2011 +0200

    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.

diff --git a/units/.gitignore b/units/.gitignore
index fe23b12..f969466 100644
--- a/units/.gitignore
+++ b/units/.gitignore
@@ -31,7 +31,6 @@ systemd-random-seed-save.service
 systemd-initctl.service
 systemd-logger.service
 getty at .service
-remote-fs.target
 systemd-update-utmp-runlevel.service
 systemd-update-utmp-shutdown.service
 test-env-replace
diff --git a/units/remote-fs.target b/units/remote-fs.target
new file mode 100644
index 0000000..a48f87e
--- /dev/null
+++ b/units/remote-fs.target
@@ -0,0 +1,14 @@
+#  This file is part of systemd.
+#
+#  systemd is free software; you can redistribute it and/or modify it
+#  under the terms of the GNU General Public License as published by
+#  the Free Software Foundation; either version 2 of the License, or
+#  (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Remote File Systems
+
+[Install]
+WantedBy=multi-user.target
diff --git a/units/remote-fs.target.m4 b/units/remote-fs.target.m4
deleted file mode 100644
index 53054b6..0000000
--- a/units/remote-fs.target.m4
+++ /dev/null
@@ -1,19 +0,0 @@
-#  This file is part of systemd.
-#
-#  systemd is free software; you can redistribute it and/or modify it
-#  under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-
-# See systemd.special(7) for details
-
-[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



More information about the systemd-commits mailing list