core: when the user hits Ctrl-Alt-Del more than 7x per 2s, reboot immediately

This should be useful for cases where clean rebooting doesn't work, and
the user wants to hurry up the reboot.
This commit is contained in:
Lennart Poettering
2015-01-28 02:18:59 +01:00
parent a986501b90
commit 2e5c94b9aa
3 changed files with 23 additions and 5 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "systemd/sd-id128.h"
#include "sd-id128.h"
#include "unit.h"
#include "specifier.h"
#include "path-util.h"