units: skip root fsck if the root directory is writable
This commit is contained in:
parent
0f0dbc46cc
commit
2c8049f3d3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue