From 02006eaef8a220c3740a4e4f9a7d53f352f9c193 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 28 Feb 2013 22:27:24 +0100 Subject: Moving initramfs-tools entry-point to backends. --- backends/initramfs-tools/live.script | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'backends/initramfs-tools/live.script') 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 +} -- cgit v1.2.3