Update scripts

This commit is contained in:
topjohnwu
2018-01-01 16:46:28 +08:00
parent 930c82316a
commit e5c3183025
7 changed files with 31 additions and 36 deletions

View File

@@ -129,11 +129,6 @@ void daemon_init() {
unlink("/data/magisk_debug.log");
chmod("/data/adb", 0700);
// Use shell glob to match files
exec_command_sync("sh", "-c",
"mv -f /data/adb/magisk/stock_*.img.gz /data;"
"rm -f /data/user*/*/magisk.db;", NULL);
LOGI("* Creating /sbin overlay");
DIR *dir;
struct dirent *entry;