X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=utils%2Fpb-console;h=9da899fdf7b242f4c47652cd0d753c0691445253;hb=85421290c797c59320bf1e9f076f46195115ab92;hp=d846ea7614703dd80f590f45a6f74341889dd773;hpb=fc95dc4ecc55c3dd4e429c6b5530ae2672d7ca1f;p=petitboot diff --git a/utils/pb-console b/utils/pb-console index d846ea7..9da899f 100644 --- a/utils/pb-console +++ b/utils/pb-console @@ -96,9 +96,16 @@ do fi done +verbose_opt= +sysinfo_bin=$(dirname $0)/pb-sysinfo +if [ -x $sysinfo_bin ] && $sysinfo_bin --debug-enabled +then + verbose_opt=--verbose +fi + while : do - $ui + $ui $verbose_opt reset echo "Exiting petitboot. Type 'exit' to return." $shell