Lines Matching defs:runlevel
68 static const char *translate_runlevel(int runlevel, bool *isolate) {
70 const int runlevel;
90 if (table[i].runlevel == runlevel) {
92 if (runlevel == '6' && kexec_loaded())
100 static void change_runlevel(Server *s, int runlevel) {
109 target = translate_runlevel(runlevel, &isolate);
111 log_warning("Got request for unknown runlevel %c, ignoring.", runlevel);
132 log_error("Failed to change runlevel: %s", bus_error_message(&error, -r));
149 if (!isprint(req->runlevel))
150 log_error("Got invalid runlevel. Ignoring.");
152 switch (req->runlevel) {
175 change_runlevel(s, req->runlevel);