fi
done
+# we force local terminals to use the linux termcap definition
+case "$(tty)" in
+/dev/tty[0-9]*)
+ export TERM=linux
+ ;;
+esac
+
+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