summaryrefslogtreecommitdiffstats
path: root/utils/pb-console
diff options
context:
space:
mode:
Diffstat (limited to 'utils/pb-console')
-rw-r--r--utils/pb-console9
1 files changed, 8 insertions, 1 deletions
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
OpenPOWER on IntegriCloud