Searched refs:reboot (Results 1 - 7 of 7) sorted by relevance
/systemd/src/core/ |
H A D | failure-action.c | 21 #include <sys/reboot.h> 22 #include <linux/reboot.h> 87 reboot(RB_AUTOBOOT); 106 reboot(RB_POWER_OFF); 118 [FAILURE_ACTION_REBOOT] = "reboot", 119 [FAILURE_ACTION_REBOOT_FORCE] = "reboot-force", 120 [FAILURE_ACTION_REBOOT_IMMEDIATE] = "reboot-immediate",
|
H A D | shutdown.c | 22 #include <linux/reboot.h> 28 #include <sys/reboot.h> 189 if (streq(arg_verb, "reboot")) 349 * on reboot(), but the file systems need to be synce'd 421 reboot(cmd); 430 r = log_error_errno(errno, "Failed to invoke reboot(): %m");
|
H A D | main.c | 28 #include <sys/reboot.h> 145 (void) reboot(RB_AUTOBOOT); 146 log_emergency_errno(errno, "Failed to reboot: %m"); 350 log_warning("Failed to parse crash reboot switch %s. Ignoring.", value); 784 { "crash-reboot", optional_argument, NULL, ARG_CRASH_REBOOT }, 1047 " --crash-reboot[=BOOL] Reboot on crash\n" 1898 [MANAGER_REBOOT] = "reboot", 2110 /* If we reboot let's set the shutdown
|
H A D | manager.c | 29 #include <sys/reboot.h> 387 if (reboot(RB_DISABLE_CAD) < 0 && errno != EPERM && errno != EINVAL) 437 SIGRTMIN+5, /* systemd: start reboot.target */ 444 SIGRTMIN+15, /* systemd: Immediate reboot */ 1765 * 7 times within 2s, we reboot
|
/systemd/src/test/ |
H A D | test-sleep.c | 33 **reboot = strv_new("reboot", NULL), local 42 log_info("Hibernate+Reboot configured: %s", yes_no(can_sleep_disk(reboot) > 0));
|
/systemd/src/nspawn/ |
H A D | nspawn-stub-pid1.c | 20 #include <sys/reboot.h> 75 SIGRTMIN+5, /* systemd: reboot */ 79 SIGRTMIN+15, /* systemd: reboot */ 103 if (state == STATE_REBOOT) { /* dispatch a queued reboot */ 104 (void) reboot(RB_AUTOBOOT); 105 r = log_error_errno(errno, "Failed to reboot: %m"); 109 (void) reboot(RB_POWER_OFF); /* if this fails, fall back to normal exit. */
|
/systemd/src/systemctl/ |
H A D | systemctl.c | 24 #include <linux/reboot.h> 30 #include <sys/reboot.h> 2694 [ACTION_REBOOT] = { SPECIAL_REBOOT_TARGET, "reboot", "replace-irreversibly" }, 2851 description = "reboot system"; 4916 streq(argv[0], "reboot") ? "Reboot" : 6199 " --no-wall Don't send wall message before halt/power-off/reboot\n" 6206 " --runtime Enable unit files only temporarily until next reboot\n" 6286 " reboot [ARG] Shut down and reboot the system\n" 6287 " kexec Shut down and reboot th [all...] |
Completed in 40 milliseconds