Lines Matching refs:reboot
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 the system with kexec\n"
6302 " --reboot Reboot the machine\n"
6303 " -f --force Force immediate halt/power-off/reboot\n"
6304 " -w --wtmp-only Don't halt/power-off/reboot, just write wtmp record\n"
6306 " --no-wall Don't send wall message before halt/power-off/reboot\n",
6320 " -r --reboot Reboot the machine\n"
6322 " -k Don't halt/power-off/reboot, just send warnings\n"
6323 " --no-wall Don't send wall message before halt/power-off/reboot\n"
6332 " --no-wall Don't send wall message before halt/power-off/reboot\n\n"
6854 { "reboot", no_argument, NULL, ARG_REBOOT },
6992 { "reboot", no_argument, NULL, 'r' },
7225 } else if (strstr(program_invocation_short_name, "reboot")) {
7355 { "reboot", VERB_ANY, 2, VERB_NOCHROOT, start_special },
7422 * on reboot(), but the file systems need to be synce'd
7428 (void) reboot(RB_ENABLE_CAD);
7434 (void) reboot(RB_HALT_SYSTEM);
7439 (void) reboot(RB_POWER_OFF);
7452 (void) reboot(RB_AUTOBOOT);
7491 action = "reboot";
7571 return log_error_errno(r, "Failed to reboot: %m");