summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-04-16 06:23:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-04-16 06:23:33 +0000
commite047051e5d157d36a51108646b0bd49e0120d0b4 (patch)
tree05ed6021138f268bad142eaa85d82d82da170c3d
parent3da4b997c44775061808a270819f860592e4fd82 (diff)
downloadabuild-e047051e5d157d36a51108646b0bd49e0120d0b4.tar.gz
abuild-e047051e5d157d36a51108646b0bd49e0120d0b4.tar.bz2
abuild-e047051e5d157d36a51108646b0bd49e0120d0b4.tar.xz
abuild-e047051e5d157d36a51108646b0bd49e0120d0b4.zip
initram: try continue boot after emergency shell exit
sometimes it is possible to manually fix the problem, for example mount the alpine device manually after modprobing the correct modules. Then it makes sense to continue boot rather than just die.
-rwxr-xr-xinitramfs-init4
1 files changed, 2 insertions, 2 deletions
diff --git a/initramfs-init b/initramfs-init
index 97fe153..f3b158d 100755
--- a/initramfs-init
+++ b/initramfs-init
@@ -28,8 +28,8 @@ eend() {
else
shift
echo "failed. $*"
- echo "initramfs emergency recovery shell launched"
- exec /bin/busybox sh
+ echo "initramfs emergency recovery shell launched. Type 'exit' to continue boot"
+ /bin/busybox sh
fi
}