Skip to content

Commit

Permalink
userd: Fix boot-completed event trigger (#134)
Browse files Browse the repository at this point in the history
Signed-off-by: GarfieldHan <[email protected]>
  • Loading branch information
pomelohan authored Oct 26, 2024
1 parent 4a62873 commit 50e6a15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/patch/android/userd.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ static const char user_rc_data[] = { //
"on property:vold.decrypt=trigger_restart_framework\n"
" exec -- " SUPERCMD " su exec " USER_INIT_SH_PATH " %s services\n"
"on property:sys.boot_completed=1\n"
" exec -- " SUPERCMD " su exec " USER_INIT_SH_PATH " %s boot-completed\n"
" rm " REPLACE_RC_FILE "\n"
" rm " USER_INIT_SH_PATH "\n"
" mv -f " DEV_LOG_DIR AP_LOG_DIR "\n"
" exec -- " SUPERCMD " su exec " USER_INIT_SH_PATH " %s boot-completed\n"
""
};

Expand Down Expand Up @@ -379,4 +379,4 @@ int android_user_init()
}

return ret;
}
}

0 comments on commit 50e6a15

Please sign in to comment.