summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-17 02:17:22 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-17 02:17:22 +0200
commitfb1bd35a5dd1ad5cfd848fdbe0d64ac53a122af0 (patch)
treeeaa94954403cb286342ebadabc4568314ca5c6ef /units
parent340d89e06e503836de9c124d650845f4889f8c2c (diff)
unit: properly generate session units
Diffstat (limited to 'units')
-rw-r--r--units/.gitignore1
-rw-r--r--units/remote-fs.target.m4 (renamed from units/remote-fs.target)4
l---------units/session/Makefile1
3 files changed, 6 insertions, 0 deletions
diff --git a/units/.gitignore b/units/.gitignore
index 21b3b384c7..7e61543864 100644
--- a/units/.gitignore
+++ b/units/.gitignore
@@ -5,3 +5,4 @@ basic.target
graphical.target
multi-user.target
getty@.service
+remote-fs.target
diff --git a/units/remote-fs.target b/units/remote-fs.target.m4
index 177a773c90..0891d0b025 100644
--- a/units/remote-fs.target
+++ b/units/remote-fs.target.m4
@@ -19,5 +19,9 @@
[Unit]
Description=Remote File Systems
+m4_dnl
+m4_ifdef(`FOR_SYSTEM',
+m4_dnl When running in system mode we need the network up
Requires=network.target
After=network.target
+)m4_dnl
diff --git a/units/session/Makefile b/units/session/Makefile
new file mode 120000
index 0000000000..50be21181f
--- /dev/null
+++ b/units/session/Makefile
@@ -0,0 +1 @@
+../../src/Makefile \ No newline at end of file