mirror of
https://github.com/Fishwaldo/LEDMessageBoard.git
synced 2025-03-15 19:31:32 +00:00
rename the config file
This commit is contained in:
parent
4e9483b4df
commit
0b5addda67
3 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ int cmd_save(struct cli_def *cli, const char *command, char *argv[], int argc)
|
|||
{
|
||||
struct LMBCTX *lmbctx = (struct LMBCTX *)cli_get_context(cli);
|
||||
boost::unique_lock<boost::mutex> scoped_lock(lmbctx->io_mutex);
|
||||
lmbctx->save("LMB.conf");
|
||||
lmbctx->save("/etc/LMBd.conf");
|
||||
cli_print(cli, "Saved Config");
|
||||
BOOST_LOG_TRIVIAL(info) << "Saved Config From Terminal";
|
||||
return CLI_OK;
|
||||
|
|
|
@ -93,7 +93,7 @@ int main()
|
|||
std::vector<std::string> displayedmsgs;
|
||||
|
||||
try {
|
||||
lmbctx->load("LMB.conf");
|
||||
lmbctx->load("/etc/LMBd.conf");
|
||||
} catch (...) {
|
||||
BOOST_LOG_TRIVIAL(warning) << "Could Not Load Config File";
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue