diff options
Diffstat (limited to 'data.cpp')
-rw-r--r-- | data.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -744,7 +744,7 @@ void DataManager::SetDefaultValues() mConstValues.insert(make_pair(TW_HAS_USB_STORAGE, "0")); } else { LOGINFO("Lun file '%s'\n", Lun_File_str.c_str()); - mConstValues.insert(make_pair(TW_HAS_USB_STORAGE, "1")); + mValues.insert(make_pair(TW_HAS_USB_STORAGE, make_pair("1", 0))); } #endif #ifdef TW_INCLUDE_INJECTTWRP @@ -923,6 +923,8 @@ void DataManager::SetDefaultValues() mValues.insert(make_pair("tw_language", make_pair(EXPAND(TW_DEFAULT_LANGUAGE), 1))); LOGINFO("LANG: %s\n", EXPAND(TW_DEFAULT_LANGUAGE)); + mValues.insert(make_pair("tw_has_adopted_storage", make_pair("0", 0))); + pthread_mutex_unlock(&m_valuesLock); } |