summaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2013-02-28 22:27:24 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 13:54:15 +0200
commit02006eaef8a220c3740a4e4f9a7d53f352f9c193 (patch)
tree2d7c6e54374e00f5ac8a65de434bf916358d2fdc /backends
parent8bea91806e321b8fdcba43dd2808720054794734 (diff)
downloadlive-boot-02006eaef8a220c3740a4e4f9a7d53f352f9c193.tar.gz
live-boot-02006eaef8a220c3740a4e4f9a7d53f352f9c193.zip
Moving initramfs-tools entry-point to backends.
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
+}