summaryrefslogtreecommitdiff
path: root/initramfs-init
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs-init')
-rwxr-xr-xinitramfs-init2
1 files changed, 2 insertions, 0 deletions
diff --git a/initramfs-init b/initramfs-init
index b0a8a75..6b9fe4d 100755
--- a/initramfs-init
+++ b/initramfs-init
@@ -125,6 +125,8 @@ if [ -n "$KOPT_root" ]; then
done
sync
exec /bin/busybox switch_root $NEWROOT $chart_init /sbin/init $KOPT_init_args
+ echo "initramfs emergency recovery shell launched"
+ exec /bin/busybox sh
fi
# locate boot media and mount it