Allow running of a custom script after factory reset
Change-Id: I33e6d72bf93103052551f33da51ba4af9a5f88c9
This commit is contained in:
@@ -1187,6 +1187,7 @@ int TWPartitionManager::Factory_Reset(void) {
|
||||
ret = false;
|
||||
}
|
||||
}
|
||||
TWFunc::check_and_run_script("/sbin/factoryreset.sh", "Factory Reset Script");
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user