diff --git a/recipes-openharmony/openharmony/files/openharmony-preinit b/recipes-openharmony/openharmony/files/openharmony-preinit index f5fe8193a0959bf6a3578e7e392230501b891a89..c146c50a0b9b207aba1fcac511b1af74d685f60c 100644 --- a/recipes-openharmony/openharmony/files/openharmony-preinit +++ b/recipes-openharmony/openharmony/files/openharmony-preinit @@ -301,6 +301,11 @@ if systemctl -q is-enabled inputmethod.service; then sleep "$STARTUP_CMD_SLEEP" fi +if systemctl -q is-enabled faultloggerd.service; then + setparam ro.logsystem.usertype 6 # UserType::OVERSEAS_COMMERCIAL + /system/bin/faultloggerd & +fi + # trigger: boot? # "name" : "hdcd", # "path" : ["/system/bin/hdcd"], @@ -317,7 +322,4 @@ if systemctl -q is-enabled hdcd.service; then /system/bin/hdcd -t & fi -if systemctl -q is-enabled faultloggerd.service; then - setparam ro.logsystem.usertype 6 # UserType::OVERSEAS_COMMERCIAL - /system/bin/faultloggerd & -fi +echo "All OpenHarmony services started"