Commit d4a80c12 authored by Lennart Poettering's avatar Lennart Poettering

units: simplify shutdown scripts

parent aeb70c8d
......@@ -8,7 +8,9 @@
[Unit]
Description=Update RTC With System Clock
DefaultDependencies=no
Before=poweroff.service reboot.service halt.service
After=hwclock-load.service
Before=shutdown.target
Conflicts=hwclock-load.service
[Service]
Type=oneshot
......
......@@ -8,7 +8,8 @@
[Unit]
Description=Save Random Seed
DefaultDependencies=no
Before=poweroff.service reboot.service halt.service
After=systemd-random-seed-load.service
Before=shutdown.target
Conflicts=systemd-random-seed-load.service
[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