summaryrefslogtreecommitdiffstats
path: root/data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'data.cpp')
-rw-r--r--data.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/data.cpp b/data.cpp
index 5fa68144a..65f706ed3 100644
--- a/data.cpp
+++ b/data.cpp
@@ -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());
}