summaryrefslogtreecommitdiffstats
path: root/data.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2013-07-03 21:55:19 +0200
committerDees_Troy <dees_troy@teamw.in>2013-07-03 21:55:35 +0200
commitd93bda5916b2466b3e9b4123f7da7c6fb298daa4 (patch)
tree99d8b7817bf3fe3f525a2aabcaca53569c84485a /data.cpp
parentupdate to newest exfat changes (diff)
downloadandroid_bootable_recovery-d93bda5916b2466b3e9b4123f7da7c6fb298daa4.tar
android_bootable_recovery-d93bda5916b2466b3e9b4123f7da7c6fb298daa4.tar.gz
android_bootable_recovery-d93bda5916b2466b3e9b4123f7da7c6fb298daa4.tar.bz2
android_bootable_recovery-d93bda5916b2466b3e9b4123f7da7c6fb298daa4.tar.lz
android_bootable_recovery-d93bda5916b2466b3e9b4123f7da7c6fb298daa4.tar.xz
android_bootable_recovery-d93bda5916b2466b3e9b4123f7da7c6fb298daa4.tar.zst
android_bootable_recovery-d93bda5916b2466b3e9b4123f7da7c6fb298daa4.zip
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());
}