summaryrefslogtreecommitdiff
path: root/install-files/essential-files/usr/lib/tmpfiles.d/shutdownramfs.conf
diff options
context:
space:
mode:
Diffstat (limited to 'install-files/essential-files/usr/lib/tmpfiles.d/shutdownramfs.conf')
-rw-r--r--install-files/essential-files/usr/lib/tmpfiles.d/shutdownramfs.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/install-files/essential-files/usr/lib/tmpfiles.d/shutdownramfs.conf b/install-files/essential-files/usr/lib/tmpfiles.d/shutdownramfs.conf
new file mode 100644
index 00000000..174f1f03
--- /dev/null
+++ b/install-files/essential-files/usr/lib/tmpfiles.d/shutdownramfs.conf
@@ -0,0 +1,4 @@
+# If /usr/lib/shutdownramfs has been populated, copy it into /run/initramfs so
+# /run/initramfs/shutdown will be executed on shut-down, so that it may unmount
+# the rootfs.
+C /run/initramfs - - - - /usr/lib/shutdownramfs