X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=utils%2Fpb-console;h=5ba98cc4692564b435d1f7d271bf07355e838c06;hp=62952959a10b03409f6d8f5bc5de7b67f1d748c4;hb=refs%2Ftags%2Fv1.10.2;hpb=ce14ac6dd659cb5e577db1d98abb061e36edbdec diff --git a/utils/pb-console b/utils/pb-console index 6295295..5ba98cc 100644 --- a/utils/pb-console +++ b/utils/pb-console @@ -134,11 +134,12 @@ fi # show particularly important messages 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