diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-03-15 20:06:53 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-03-15 20:06:53 +0000 |
commit | a5f1bed085aa7e3a2b5f3e8dfdbb4f40b7a1f7ac (patch) | |
tree | 6c3f50afcaa22fc128bd274ad48c4d76b111b8e4 | |
parent | 311fd299f68ce07503e77066291cb107e6c465b3 (diff) | |
download | abuild-a5f1bed085aa7e3a2b5f3e8dfdbb4f40b7a1f7ac.tar.gz abuild-a5f1bed085aa7e3a2b5f3e8dfdbb4f40b7a1f7ac.tar.bz2 abuild-a5f1bed085aa7e3a2b5f3e8dfdbb4f40b7a1f7ac.tar.xz abuild-a5f1bed085aa7e3a2b5f3e8dfdbb4f40b7a1f7ac.zip |
initram: start emergency shell if failed to switch to specified root
-rwxr-xr-x | initramfs-init | 2 |
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 |