Lines Matching refs:verb
65 const char *verb = argv[0]; in verb_enable() local
79 r = enable_sysv_units(verb, names); in verb_enable()
92 if (streq(verb, "disable")) { in verb_enable()
98 if (streq(verb, "link")) { in verb_enable()
108 if (streq(verb, "enable")) { in verb_enable()
111 } else if (streq(verb, "disable")) in verb_enable()
113 else if (streq(verb, "reenable")) { in verb_enable()
116 } else if (streq(verb, "link")) in verb_enable()
118 else if (streq(verb, "preset")) in verb_enable()
120 else if (streq(verb, "mask")) in verb_enable()
122 else if (streq(verb, "unmask")) in verb_enable()
124 else if (streq(verb, "revert")) in verb_enable()
129 unit_file_dump_changes(r, verb, changes, n_changes, arg_quiet); in verb_enable()
141 if (STR_IN_SET(verb, "mask", "unmask")) { in verb_enable()
163 if (streq(verb, "enable")) { in verb_enable()
166 } else if (streq(verb, "disable")) { in verb_enable()
169 } else if (streq(verb, "reenable")) { in verb_enable()
172 } else if (streq(verb, "link")) in verb_enable()
174 else if (streq(verb, "preset")) { in verb_enable()
184 } else if (streq(verb, "mask")) in verb_enable()
186 else if (streq(verb, "unmask")) { in verb_enable()
189 } else if (streq(verb, "revert")) { in verb_enable()
223 … return log_error_errno(r, "Failed to %s unit: %s", verb, bus_error_message(&error, r)); in verb_enable()