Fix prop issues

This commit is contained in:
topjohnwu 2017-06-07 11:26:58 +08:00
parent b6578b52e3
commit 541ba357bb

View File

@ -529,6 +529,9 @@ void post_fs_data(int client) {
new_img = 1;
}
// Initialize resetprop for the daemon
init_resetprop();
LOGI("* Mounting " MAINIMG "\n");
// Mounting magisk image
char *magiskloop = mount_image(MAINIMG, MOUNTPOINT);
@ -685,9 +688,6 @@ void post_fs_data(int client) {
bind_mount(HOSTSFILE, "/system/etc/hosts");
}
// Initialize resetprop for the daemon
init_resetprop();
// Start magiskhide if enabled
char *hide_prop = getprop(MAGISKHIDE_PROP);
if (hide_prop) {