aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initrdscripts
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/initrdscripts')
-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 @@
PATH=/sbin:/bin:/usr/sbin:/usr/bin
-emergency_shell()
-{
- echo "Bug in initramfs /init detected. Dropping to a shell. Good luck!"
- echo
- sh
-}
-trap "emergency_shell" 0 2
-
-# exit immediately if a command fails
-set -e
-
ROOT_MOUNT="/rootfs/"
ROOT_IMAGE="rootfs.img"
MOUNT="/bin/mount"