chiark / gitweb /
unit: properly generate session units
[elogind.git] / units / remote-fs.target.m4
similarity index 89%
rename from units/remote-fs.target
rename to units/remote-fs.target.m4
index 177a773c90026061cc96aa664f439c85a12601d1..0891d0b025733cc085606df2c98332fda1db4490 100644 (file)
@@ -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