From 258eda0337e0e4d5502657e96f8e793627f68457 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Fri, 7 Jan 2022 16:53:07 +0100 Subject: reboot on SIGINT, as this is what ctrl-alt-del will send Perhaps make this configurable at some point. --- rvnit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/rvnit.c b/rvnit.c index f427fe1..6e8de20 100644 --- a/rvnit.c +++ b/rvnit.c @@ -65,6 +65,7 @@ on_sigint(int sig) { (void)sig; want_shutdown = 1; + want_reboot = 1; } void -- cgit 1.4.1