summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-20 02:11:37 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-20 02:11:37 +0200
commit2588269757b462036d7c68d52c2d50665af7bcd6 (patch)
tree773b231924384dbb28f1c7bd5d098f9697302c7e
parent1afaf57346eca958ffe9e1617bb875d556f89a01 (diff)
fedora: remove automount points before we go down
-rw-r--r--units/fedora/halt.service1
-rw-r--r--units/fedora/poweroff.service1
-rw-r--r--units/fedora/reboot.service1
3 files changed, 3 insertions, 0 deletions
diff --git a/units/fedora/halt.service b/units/fedora/halt.service
index a298d95767..ff498e4375 100644
--- a/units/fedora/halt.service
+++ b/units/fedora/halt.service
@@ -9,6 +9,7 @@
Description=Halt
Requires=shutdown.target killall.service
After=shutdown.target killall.service
+Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount
[Service]
Type=finish
diff --git a/units/fedora/poweroff.service b/units/fedora/poweroff.service
index d50fbb3926..07af6c62c3 100644
--- a/units/fedora/poweroff.service
+++ b/units/fedora/poweroff.service
@@ -9,6 +9,7 @@
Description=Power-Off
Requires=shutdown.target killall.service
After=shutdown.target killall.service
+Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount
[Service]
Type=finish
diff --git a/units/fedora/reboot.service b/units/fedora/reboot.service
index 20b9e9e529..77f5cb3f53 100644
--- a/units/fedora/reboot.service
+++ b/units/fedora/reboot.service
@@ -9,6 +9,7 @@
Description=Reboot
Requires=shutdown.target killall.service
After=shutdown.target killall.service
+Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount
[Service]
Type=finish