summaryrefslogtreecommitdiff
path: root/scripts/boot/0020-initramfs-tools
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-08-14 01:11:27 +0200
committerDaniel Baumann <daniel@debian.org>2012-08-14 01:11:27 +0200
commitba42304070c7104fbe526f6d166b8bbce36a3cd4 (patch)
tree7f14fc891bff0ae06ca7f64d20d8b5167cf0c8b7 /scripts/boot/0020-initramfs-tools
parent990d419eacf614710c838ef743aa10ec0612ed7a (diff)
downloadlive-boot-ba42304070c7104fbe526f6d166b8bbce36a3cd4.tar.gz
live-boot-ba42304070c7104fbe526f6d166b8bbce36a3cd4.zip
Moving reading of initramfs-tools functions to initramfs-tools script.
Diffstat (limited to 'scripts/boot/0020-initramfs-tools')
-rwxr-xr-xscripts/boot/0020-initramfs-tools5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/boot/0020-initramfs-tools b/scripts/boot/0020-initramfs-tools
index 175488e..c251443 100755
--- a/scripts/boot/0020-initramfs-tools
+++ b/scripts/boot/0020-initramfs-tools
@@ -2,6 +2,11 @@
#set -e
+if [ -e /scripts/functions ]
+then
+ . /scripts/functions
+fi
+
mountroot ()
{
# initramfs-tools entry point for live-boot is mountroot(); function