chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f0dbc4
)
units: skip root fsck if the root directory is writable
author
Lennart Poettering
<lennart@poettering.net>
Sun, 22 Apr 2012 11:38:46 +0000
(13:38 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Sun, 22 Apr 2012 12:11:32 +0000
(14:11 +0200)
units/fsck-root.service.in
patch
|
blob
|
history
diff --git
a/units/fsck-root.service.in
b/units/fsck-root.service.in
index f2870bdee7976f0a8c6e2ddf78bf1253a3ac18df..517dee70bec9aadb54403911111318bb25dd013a 100644
(file)
--- a/
units/fsck-root.service.in
+++ b/
units/fsck-root.service.in
@@
-13,6
+13,7
@@
Before=local-fs.target shutdown.target
# Dracut informs us with this flag file if the root fsck was already run
ConditionPathExists=!/run/initramfs/root-fsck
+ConditionPathIsReadWrite=!/
[Service]
Type=oneshot