Magisk/jni/daemon/post_fs.c

18 lines
277 B
C
Raw Normal View History

/* post_fs.c - post-fs actions
*/
#include <unistd.h>
2017-04-17 16:36:49 +08:00
#include "magisk.h"
#include "utils.h"
#include "daemon.h"
void post_fs(int client) {
2017-04-17 16:36:49 +08:00
LOGI("** post-fs mode running\n");
// ack
write_int(client, 0);
// TODO: Do something
close(client);
unblock_boot_process();
}