Skip to content

Commit

Permalink
use ro.boot.prjname instead
Browse files Browse the repository at this point in the history
This property is set with help of the cmdline appended by the bootloader (androidboot.prjname)
  • Loading branch information
crazo7924 authored May 22, 2023
1 parent d87e3fc commit fd24ca0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions post-fs-data.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/system/bin/sh

# TODO: Is this correct?
PRJ_NAME=$(getprop ro.oplus.image.my_product.type)
PRJ_NAME=$(getprop ro.boot.prjname)
RUI_VER=$(getprop ro.build.version.realmeui)
TEMP_PATH="/cache/feature.xml"
LOG_PATH="/cache/realify.log"
Expand Down

0 comments on commit fd24ca0

Please sign in to comment.