summaryrefslogtreecommitdiff
path: root/units/remount-rootfs.service
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-04-22 15:35:35 +0200
committerLennart Poettering <lennart@poettering.net>2012-04-22 15:35:35 +0200
commite3f7277c6e50ce567f07cad5232292ec62207b8c (patch)
tree34ede430cf8c306409a205ea2a28e82bb212fb67 /units/remount-rootfs.service
parente0295d2651cff034ab8200156f1ece06154b7bbc (diff)
units: remount file systems only if /etc/fstab actually exists
Diffstat (limited to 'units/remount-rootfs.service')
-rw-r--r--units/remount-rootfs.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/remount-rootfs.service b/units/remount-rootfs.service
index 6ca057ec67..52a70743bc 100644
--- a/units/remount-rootfs.service
+++ b/units/remount-rootfs.service
@@ -12,6 +12,7 @@ Conflicts=shutdown.target
After=systemd-readahead-collect.service systemd-readahead-replay.service fsck-root.service
Before=local-fs-pre.target local-fs.target shutdown.target
Wants=local-fs-pre.target
+ConditionPathExists=/etc/fstab
[Service]
Type=oneshot