summaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
Diffstat (limited to 'backends')
-rwxr-xr-xbackends/initramfs-tools/live.script11
1 files changed, 11 insertions, 0 deletions
diff --git a/backends/initramfs-tools/live.script b/backends/initramfs-tools/live.script
index 46576fb..7f99cc3 100755
--- a/backends/initramfs-tools/live.script
+++ b/backends/initramfs-tools/live.script
@@ -6,3 +6,14 @@ if [ -e /lib/live/boot.sh ]
then
. /lib/live/boot.sh
fi
+
+if [ -e /scripts/functions ]
+then
+ . /scripts/functions
+fi
+
+mountroot ()
+{
+ # initramfs-tools entry point for live-boot is mountroot(); function
+ Main
+}