Commit 541ba357 authored by topjohnwu's avatar topjohnwu

Fix prop issues

parent b6578b52
...@@ -529,6 +529,9 @@ void post_fs_data(int client) { ...@@ -529,6 +529,9 @@ void post_fs_data(int client) {
new_img = 1; new_img = 1;
} }
// Initialize resetprop for the daemon
init_resetprop();
LOGI("* Mounting " MAINIMG "\n"); LOGI("* Mounting " MAINIMG "\n");
// Mounting magisk image // Mounting magisk image
char *magiskloop = mount_image(MAINIMG, MOUNTPOINT); char *magiskloop = mount_image(MAINIMG, MOUNTPOINT);
...@@ -685,9 +688,6 @@ void post_fs_data(int client) { ...@@ -685,9 +688,6 @@ void post_fs_data(int client) {
bind_mount(HOSTSFILE, "/system/etc/hosts"); bind_mount(HOSTSFILE, "/system/etc/hosts");
} }
// Initialize resetprop for the daemon
init_resetprop();
// Start magiskhide if enabled // Start magiskhide if enabled
char *hide_prop = getprop(MAGISKHIDE_PROP); char *hide_prop = getprop(MAGISKHIDE_PROP);
if (hide_prop) { if (hide_prop) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment