|
|
|
@ -30,9 +30,8 @@ |
|
|
|
|
|
|
|
|
|
namespace { |
|
|
|
|
|
|
|
|
|
const std::string default_params_path = Hardware::PC() ? util::getenv_default("HOME", "/.comma/params", "/data/params") |
|
|
|
|
: "/data/params"; |
|
|
|
|
const std::string persistent_params_path = Hardware::PC() ? default_params_path : "/persist/comma/params"; |
|
|
|
|
const std::string default_params_path = !Hardware::PC() ? "/data/params" : util::getenv_default("HOME", "/.comma/params", "/data/params"); |
|
|
|
|
const std::string persistent_params_path = !Hardware::PC() ? "/persist/comma/params" : default_params_path; |
|
|
|
|
|
|
|
|
|
volatile sig_atomic_t params_do_exit = 0; |
|
|
|
|
void params_sig_handler(int signal) { |
|
|
|
|