Searched refs:arg_verb (Results 1 - 2 of 2) sorted by relevance
/systemd/src/sleep/ |
H A D | sleep.c | 36 static char* arg_verb = NULL; variable 90 arg_verb, 114 "SLEEP=%s", arg_verb, 124 "SLEEP=%s", arg_verb, 183 arg_verb = argv[optind]; 185 if (!streq(arg_verb, "suspend") && 186 !streq(arg_verb, "hibernate") && 187 !streq(arg_verb, "hybrid-sleep")) { 188 log_error("Unknown command '%s'.", arg_verb); 207 r = parse_sleep_config(arg_verb, [all...] |
/systemd/src/core/ |
H A D | shutdown.c | 51 static char* arg_verb; variable 125 if (!arg_verb) 126 arg_verb = optarg; 138 if (!arg_verb) { 189 if (streq(arg_verb, "reboot")) 191 else if (streq(arg_verb, "poweroff")) 193 else if (streq(arg_verb, "halt")) 195 else if (streq(arg_verb, "kexec")) 197 else if (streq(arg_verb, "exit")) 198 cmd = 0; /* ignored, just checking that arg_verb i [all...] |
Completed in 2371 milliseconds