aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2012-06-19 12:16:35 -0400
committerBill Nottingham <notting@redhat.com>2012-06-19 12:16:35 -0400
commit412c4edd047a9380de9e6908437543ad744e05b3 (patch)
treefa4944ad479fb5cc869a981f3349abe88ca11647
parent5383a660e73c066d3ceac172283328a58f6b33e5 (diff)
downloadinitscripts-412c4edd047a9380de9e6908437543ad744e05b3.tar
initscripts-412c4edd047a9380de9e6908437543ad744e05b3.tar.gz
initscripts-412c4edd047a9380de9e6908437543ad744e05b3.tar.bz2
initscripts-412c4edd047a9380de9e6908437543ad744e05b3.tar.xz
initscripts-412c4edd047a9380de9e6908437543ad744e05b3.zip
Check that root is r/w before starting fedora-import-state.
-rw-r--r--systemd/system/fedora-import-state.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/systemd/system/fedora-import-state.service b/systemd/system/fedora-import-state.service
index 5294fe17..00d3d066 100644
--- a/systemd/system/fedora-import-state.service
+++ b/systemd/system/fedora-import-state.service
@@ -1,6 +1,7 @@
[Unit]
Description=Import network configuration from initramfs
DefaultDependencies=no
+ConditionPathIsReadWrite=/
ConditionDirectoryNotEmpty=/run/initramfs/state
Conflicts=shutdown.target
Before=shutdown.target emergency.service emergency.target systemd-tmpfiles-setup.service