aboutsummaryrefslogtreecommitdiff
path: root/rootdir/bin
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2021-10-07 10:17:47 +0200
committerDavide Garberi <dade.garberi@gmail.com>2021-10-19 15:09:38 +0200
commit663d1fb15b06572e677f9aa7bb59136d903f6e76 (patch)
tree5d25ab409d380843536179af5e0571d5e0892ba3 /rootdir/bin
parent43be610d8f65ce9edad4213fc88dbf4f61deb23d (diff)
msm8996-common: Move oem unlock prop set to libinit
* Since eleven the property wouldn't get its new context anymore, so work around that Change-Id: If2f987dd28e1423f53460c65aaa6c03568d94eba
Diffstat (limited to 'rootdir/bin')
-rwxr-xr-xrootdir/bin/init.qcom.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/rootdir/bin/init.qcom.sh b/rootdir/bin/init.qcom.sh
index 93439bb..12615aa 100755
--- a/rootdir/bin/init.qcom.sh
+++ b/rootdir/bin/init.qcom.sh
@@ -65,9 +65,3 @@ if [ ! -f /vendor/firmware_mnt/verinfo/ver_info.txt -o "$prev_version_info" != "
fi
chmod g-w /data/vendor/modem_config
setprop ro.vendor.ril.mbn_copy_completed 1
-
-if [[ -z $(grep "androidboot.lock=unlocked" /proc/cmdline) ]]; then
- setprop ro.oem_unlock_supported 1
-else
- setprop ro.oem_unlock_supported 0
-fi