2.6.0.0
Also copy recovery.fstab to cache and create a storage.fstab in cache for app/apk use.
This commit is contained in:
@@ -1044,6 +1044,8 @@ void DataManager::Output_Version(void) {
|
||||
strcpy(version, TW_VERSION_STR);
|
||||
fwrite(version, sizeof(version[0]), strlen(version) / sizeof(version[0]), fp);
|
||||
fclose(fp);
|
||||
TWFunc::copy_file("/etc/recovery.fstab", "/cache/recovery/recovery.fstab", 0644);
|
||||
PartitionManager.Output_Storage_Fstab();
|
||||
sync();
|
||||
LOGINFO("Version number saved to '%s'\n", Path.c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user