summaryrefslogtreecommitdiffstats
path: root/utils/pb-console
diff options
context:
space:
mode:
Diffstat (limited to 'utils/pb-console')
-rw-r--r--utils/pb-console3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/pb-console b/utils/pb-console
index ad601e2..5ba98cc 100644
--- a/utils/pb-console
+++ b/utils/pb-console
@@ -135,12 +135,11 @@ fi
dmesg -n 1
trap '' SIGINT
+trap 'reset; echo "SIGTERM received, booting..."; sleep 2' SIGTERM
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
OpenPOWER on IntegriCloud