X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=utils%2Fpb-console;h=282fca1193604ff57b7aff102844648ecd4e5f70;hp=5f8ffa6f3ef130ec8ff52d3a69e9daaf094c34c5;hb=9a5c9c9331f0c0c539cad423a4654015598b0d9d;hpb=0b71e584078dbe370ed37bcc26f2815d138d28fc diff --git a/utils/pb-console b/utils/pb-console index 5f8ffa6..282fca1 100644 --- a/utils/pb-console +++ b/utils/pb-console @@ -107,8 +107,9 @@ esac # we may have been run from udev - ensure we have a sensible PATH if [ -z "$PATH" ] then - PATH=/var/lib/pb-plugins/bin:/usr/bin:/usr/sbin:/bin:/sbin + PATH=/usr/bin:/usr/sbin:/bin:/sbin fi +PATH=/var/lib/pb-plugins/bin:$PATH export PATH verbose_opt= @@ -117,10 +118,15 @@ then verbose_opt=--verbose fi +# kernel messages may write over the ncurses ui - change log level to only +# show particularly important messages +dmesg -n 1 + while : do $ui $verbose_opt reset echo "Exiting petitboot. Type 'exit' to return." + echo "You may run 'pb-sos' to gather diagnostic data" $shell done