Magisk/jni/daemon/post_fs.c

22 lines
295 B
C
Raw Normal View History

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