Commit 7b0ed1e1 authored by Steven Shiau's avatar Steven Shiau

Add systemd-tmpfiles-setup-dev.service in Before.

Add systemd-tmpfiles-setup-dev.service in Before item so that systemd
won't remove /dev/console and /dev/null. This would avoid failing
systemd shutdown/reboot. Otherwise when live-medium eject is run,
it would cause an error when shutting down or rebooting:
failed to execute shutdown binary
freezing execution
parent 2ef48a5d
......@@ -2,7 +2,7 @@
Documentation=man:live-tools(7)
Description=live-tools - System Support Scripts
DefaultDependencies=no
Before=shutdown.target
Before=systemd-tmpfiles-setup-dev.service shutdown.target
Conflicts=shutdown.target
[Service]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment