Also copy recovery.fstab to cache and create a storage.fstab in
cache for app/apk use.
This commit is contained in:
Dees_Troy
2013-07-03 19:55:19 +00:00
parent 004e2df74a
commit d93bda5916
4 changed files with 27 additions and 2 deletions
+2
View File
@@ -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());
}