Move sbin overlay creation to magiskinit

This commit is contained in:
topjohnwu
2019-02-09 01:51:46 -05:00
parent 08e3405394
commit c8491d008f
8 changed files with 214 additions and 163 deletions

View File

@@ -31,7 +31,7 @@
" --sqlite SQL exec SQL to Magisk database\n"
"\n"
"Supported init triggers:\n"
" startup, post-fs-data, service, boot-complete\n"
" post-fs-data, service, boot-complete\n"
"\n"
"Supported applets:\n");
@@ -77,9 +77,6 @@ int magisk_main(int argc, char *argv[]) {
int fd = connect_daemon();
write_int(fd, DO_NOTHING);
return 0;
} else if (strcmp(argv[1], "--startup") == 0) {
startup();
return 0;
} else if (strcmp(argv[1], "--post-fs-data") == 0) {
int fd = connect_daemon();
write_int(fd, POST_FS_DATA);