ref: d82b300c148b52471603d9b77cd46d0955946f09
parent: 46a7d83a9a58bdaf18045d7e76890e4b636e1a8e
author: qwx <qwx@sciops.net>
date: Wed Jun 12 22:22:17 EDT 2024
kbdfs: add timeout and confirmation message on emergency exit
--- a/sys/src/cmd/aux/kbdfs/kbdfs.c
+++ b/sys/src/cmd/aux/kbdfs/kbdfs.c
@@ -412,6 +412,8 @@
fprint(fd, "halt\n");
close(fd);
}
+ fprint(2, "emergency warp!\n");
+ sleep(1000);
reboot();
}