X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=utils%2Fpb-console;h=ad601e2eb879a4871ff93c4380f7240fa44c89b5;hp=ef9ed0f61d455a8fc85757611d0dab374fa8e90c;hb=5d7f93f2ee09de515e1e474fd752d52590b51793;hpb=f110c98b582be12c9d4ac4a13a7bf5aff2b7dd57 diff --git a/utils/pb-console b/utils/pb-console index ef9ed0f..ad601e2 100644 --- a/utils/pb-console +++ b/utils/pb-console @@ -94,7 +94,7 @@ then if [ "$detach" = 1 ] then - $getty $login_arg "$@" & + setsid -c $getty $login_arg "$@" & exit else exec $getty $login_arg "$@" @@ -134,6 +134,8 @@ fi # show particularly important messages dmesg -n 1 +trap '' SIGINT + while : do $ui $verbose_opt