Lines Matching defs:signal_arg
74 static char const* signal_arg = NULL;
774 if (!strcasecmp(signal_arg, "runservice")) {
881 if (!strcasecmp(signal_arg, "runservice")) {
1084 signal_arg = "runchild";
1096 * strip out -k signal into signal_arg
1161 signal_arg = opt_arg;
1191 /* Provide a default 'run' -k arg to simplify signal_arg tests */
1192 if (!signal_arg)
1194 signal_arg = "run";
1198 if (!strcasecmp(signal_arg, "runservice"))
1247 if (service_set == SERVICE_UNSET && strcasecmp(signal_arg, "run")) {
1252 if (!strcasecmp(signal_arg, "install")) /* -k install */
1268 if (!strcasecmp(signal_arg, "uninstall")) {
1273 if ((!strcasecmp(signal_arg, "stop")) ||
1274 (!strcasecmp(signal_arg, "shutdown"))) {
1299 if (strcasecmp(signal_arg, "install") && service_set && service_set != SERVICE_UNSET)
1316 if (!strcasecmp(signal_arg, "config")) { /* -k config */
1327 else if (!strcasecmp(signal_arg, "install")) { /* -k install */
1366 if (!strcasecmp(signal_arg, "runservice")
1515 if (!strcasecmp(signal_arg, "install")) {
1524 if (!strcasecmp(signal_arg, "config")) {
1534 if (!strcasecmp(signal_arg, "start")) {
1548 if (!strcasecmp(signal_arg, "restart")) {
1610 if (strcasecmp(signal_arg, "runservice"))
1636 if (!strcasecmp(signal_arg, "restart")
1637 || !strcasecmp(signal_arg, "config")) {