summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
authorrleigh@debian.org <rleigh@debian.org>2013-05-08 21:48:24 +0100
committerMichael Prokop <mika@debian.org>2014-09-25 08:37:05 +0200
commitcfdafe62c944f6e9ad930527a24d5d11f44c778e (patch)
treed63366e2c465c351a8e18852e09bbbc49d793e50 /scripts/functions
parent81956cd735086b978b1e07c7d7efcb19c9e4984d (diff)
scripts: Add overridable indirect functions
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions28
1 files changed, 28 insertions, 0 deletions
diff --git a/scripts/functions b/scripts/functions
index e988b98..3ba5a27 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -513,3 +513,31 @@ mountfs()
${type}_mount_fs "$1"
}
+
+# Mount the root file system. It should be overridden by all
+# boot scripts.
+mountroot()
+{
+ :
+}
+
+# Run /scripts/${boot}-top. This should be overridden by all boot
+# scripts.
+mount_top()
+{
+ :
+}
+
+# Run /scripts/${boot}-premount. This should be overridden by all boot
+# scripts.
+mount_premount()
+{
+ :
+}
+
+# Run /scripts/${boot}-bottom. This should be overridden by all boot
+# scripts.
+mount_bottom()
+{
+ :
+}