static void sig_usr1(int signo)
{
- _D("received SIGUSR1 signal %d, PASS'll be finished!", signo);
+ _D("received SIGUSR1 signal %d", signo);
ecore_main_loop_quit();
}
devices_init(NULL);
add_booting_done_handler(NULL);
ret = booting_finished();
- if (ret == 1) {
- _I("notify relaunch");
+ if (ret == 1)
device_notify(DEVICE_NOTIFIER_BOOTING_DONE, &ret);
- }
signal(SIGTERM, sig_quit);
signal(SIGUSR1, sig_usr1);
return ret;
}
- _I("Initialize governor for '%s' resource", cdata->res_name);
-
if (policy->state == PASS_ON)
pass_governor_update(policy, PASS_GOV_START);
policy->governor = NULL;
- _I("Exit governor for '%s' resource", cdata->res_name);
-
return 0;
}
return;
}
- _I("exit PASS daemon without any errors\n");
+ _I("Exit PASS daemon without any errors\n");
}
/*
for (i = 0; i < scenarios.num; ++i) {
/* if this scenario does not support */
- if (!scenarios.list[i].support) {
- _I("do not support [%s] scenario", scenarios.list[i].name);
+ if (!scenarios.list[i].support)
continue;
- }
methods[i].member = scenarios.list[i].name;
methods[i].signature = "i";