mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-02 02:52:40 +00:00
parent
20ffd5147f
commit
faf6009548
1 changed files with 8 additions and 0 deletions
|
@ -3753,12 +3753,16 @@ bool DivEngine::preInit(bool noSafeMode) {
|
||||||
initConfDir();
|
initConfDir();
|
||||||
logD("config path: %s",configPath.c_str());
|
logD("config path: %s",configPath.c_str());
|
||||||
|
|
||||||
|
// TODO: re-enable with a better approach
|
||||||
|
// see issue #1581
|
||||||
|
/*
|
||||||
if (!noSafeMode) {
|
if (!noSafeMode) {
|
||||||
String safeModePath=configPath+DIR_SEPARATOR_STR+"safemode";
|
String safeModePath=configPath+DIR_SEPARATOR_STR+"safemode";
|
||||||
if (touchFile(safeModePath.c_str())==-EEXIST) {
|
if (touchFile(safeModePath.c_str())==-EEXIST) {
|
||||||
wantSafe=true;
|
wantSafe=true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
String logPath=configPath+DIR_SEPARATOR_STR+"furnace.log";
|
String logPath=configPath+DIR_SEPARATOR_STR+"furnace.log";
|
||||||
startLogFile(logPath.c_str());
|
startLogFile(logPath.c_str());
|
||||||
|
@ -3782,8 +3786,12 @@ bool DivEngine::preInit(bool noSafeMode) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void DivEngine::everythingOK() {
|
void DivEngine::everythingOK() {
|
||||||
|
// TODO: re-enable with a better approach
|
||||||
|
// see issue #1581
|
||||||
|
/*
|
||||||
String safeModePath=configPath+DIR_SEPARATOR_STR+"safemode";
|
String safeModePath=configPath+DIR_SEPARATOR_STR+"safemode";
|
||||||
deleteFile(safeModePath.c_str());
|
deleteFile(safeModePath.c_str());
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
bool DivEngine::init() {
|
bool DivEngine::init() {
|
||||||
|
|
Loading…
Reference in a new issue