]> git.ozlabs.org Git - petitboot/blobdiff - utils/pb-console
po: Translation Updates
[petitboot] / utils / pb-console
index 5f8ffa6f3ef130ec8ff52d3a69e9daaf094c34c5..282fca1193604ff57b7aff102844648ecd4e5f70 100644 (file)
@@ -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