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