From a1e50f04b89ff042baf91a403a6df0cbd1e3cec2 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Tue, 26 Nov 2013 11:09:49 -0500 Subject: move a bunch of stuff to subdirs Signed-off-by: Dave Reisner --- systemd/mkinitcpio-generate-shutdown-ramfs.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 systemd/mkinitcpio-generate-shutdown-ramfs.service (limited to 'systemd') diff --git a/systemd/mkinitcpio-generate-shutdown-ramfs.service b/systemd/mkinitcpio-generate-shutdown-ramfs.service new file mode 100644 index 0000000..36c2508 --- /dev/null +++ b/systemd/mkinitcpio-generate-shutdown-ramfs.service @@ -0,0 +1,15 @@ +[Unit] +Description=Generate shutdown-ramfs +DefaultDependencies=no +Before=shutdown.target +ConditionFileIsExecutable=!/run/initramfs/shutdown + +[Service] +Type=oneshot +# /tmp could be umounted at this point +# use /run as temporary directory +Environment=TMPDIR=/run +ExecStart=/usr/bin/mkinitcpio -A sd-shutdown -c /dev/null -d /run/initramfs + +[Install] +WantedBy=shutdown.target -- cgit v1.2.3-24-g4f1b