busybox update

pull/5/head
Tomas M 2012-09-21 08:43:01 -05:00
parent cfac1ac9d6
commit 3d2e3620ce
4 changed files with 7 additions and 2 deletions

View File

@ -23,6 +23,7 @@ init_aufs
init_zram init_zram
debug_start debug_start
debug_shell
init_union "$CHANGES" "$UNION" init_union "$CHANGES" "$UNION"
@ -31,6 +32,8 @@ DATA="$(find_data 60 "$DATAMNT")"
# copy to RAM if needed # copy to RAM if needed
debug_shell
# add data to union # add data to union
union_append_bundles "$DATA" "$BUNDLES" "$UNION" union_append_bundles "$DATA" "$BUNDLES" "$UNION"
@ -38,6 +41,8 @@ union_append_bundles "$DATA" "$BUNDLES" "$UNION"
fstab_create "$UNION" fstab_create "$UNION"
header "Live Kit done, starting $LIVEKITNAME" header "Live Kit done, starting $LIVEKITNAME"
debug_shell
change_root "$UNION" change_root "$UNION"
header "!!ERROR occured, you shouldn't be here.!!" header "!!ERROR occured, you shouldn't be here.!!"

Binary file not shown.

Binary file not shown.

View File

@ -70,7 +70,7 @@ debug_shell()
{ {
if [ "$DEBUG_IS_ENABLED" ]; then if [ "$DEBUG_IS_ENABLED" ]; then
show_debug_banner show_debug_banner
sh < /dev/console setsid sh -c 'exec sh < /dev/tty1 >/dev/tty1 2>&1'
echo echo
fi fi
} }
@ -82,7 +82,7 @@ fatal()
echolog "Something went wrong and we can't continue. This should never happen." echolog "Something went wrong and we can't continue. This should never happen."
echolog "Please reboot your computer with Ctrl+Alt+Delete ..." echolog "Please reboot your computer with Ctrl+Alt+Delete ..."
echolog echolog
sh < /dev/console setsid sh -c 'exec sh < /dev/tty1 >/dev/tty1 2>&1'
} }