summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/initrdscripts/files/init-live.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-live.sh b/meta/recipes-core/initrdscripts/files/init-live.sh
index 2639308c28..5682fd18c1 100644
--- a/meta/recipes-core/initrdscripts/files/init-live.sh
+++ b/meta/recipes-core/initrdscripts/files/init-live.sh
@@ -2,17 +2,6 @@
2 2
3PATH=/sbin:/bin:/usr/sbin:/usr/bin 3PATH=/sbin:/bin:/usr/sbin:/usr/bin
4 4
5emergency_shell()
6{
7 echo "Bug in initramfs /init detected. Dropping to a shell. Good luck!"
8 echo
9 sh
10}
11trap "emergency_shell" 0 2
12
13# exit immediately if a command fails
14set -e
15
16ROOT_MOUNT="/rootfs/" 5ROOT_MOUNT="/rootfs/"
17ROOT_IMAGE="rootfs.img" 6ROOT_IMAGE="rootfs.img"
18MOUNT="/bin/mount" 7MOUNT="/bin/mount"