summaryrefslogtreecommitdiff
path: root/old/install-files/essential-files/usr/lib/tmpfiles.d/shutdownramfs.conf
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2017-07-07 10:01:07 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2017-07-07 10:01:07 +0000
commitf6046f9b54c1f14d12a67fa66ca0c881b49e8ceb (patch)
tree7c4d5b1aa87b991fecb0b2c585514069947c3f0a /old/install-files/essential-files/usr/lib/tmpfiles.d/shutdownramfs.conf
parentdeba555368fd21316025c5ee0eaaf517b938775e (diff)
downloaddefinitions-f6046f9b54c1f14d12a67fa66ca0c881b49e8ceb.tar.gz
Move old Baserock format definitions into old/ directory
Diffstat (limited to 'old/install-files/essential-files/usr/lib/tmpfiles.d/shutdownramfs.conf')
-rw-r--r--old/install-files/essential-files/usr/lib/tmpfiles.d/shutdownramfs.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/old/install-files/essential-files/usr/lib/tmpfiles.d/shutdownramfs.conf b/old/install-files/essential-files/usr/lib/tmpfiles.d/shutdownramfs.conf
new file mode 100644
index 00000000..174f1f03
--- /dev/null
+++ b/old/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