summarylogtreecommitdiffstats
path: root/auxmount_install
diff options
context:
space:
mode:
Diffstat (limited to 'auxmount_install')
-rw-r--r--auxmount_install20
1 files changed, 20 insertions, 0 deletions
diff --git a/auxmount_install b/auxmount_install
new file mode 100644
index 000000000000..534b94ebabaf
--- /dev/null
+++ b/auxmount_install
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+build() {
+ add_runscript
+}
+
+help() {
+ cat <<HELPEOF
+Preserve auxiliary mounts of the early userspace.
+
+If in initramfs an auxiliary mount was created
+on /new_rootfoo, and $auxmnt/rootfoo exists,
+the initramfs' /new_rootfoo mount will be
+made available at $auxmnt/rootfoo.
+
+Syntax: auxmnt=/<dir>
+HELPEOF
+}
+
+# vim: set ft=sh ts=4 sw=4 et: