mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-14 12:22:28 -04:00
Fix an issue with property additions being added on same line
This caused the OEM unlock toggle to not appear on select devices such as: - taimen/walleye - enchilada/fajita - FP3 - FP4 Signed-off-by: Tavi <tavi@divested.dev>
This commit is contained in:
parent
63829126db
commit
8f6fa700a4
3 changed files with 40 additions and 40 deletions
|
@ -708,7 +708,7 @@ deblobDevice() {
|
|||
sed -i 's/wfd.enable=1/wfd.enable=0/' *.prop *.mk &>/dev/null || true; #Disable Wi-Fi display
|
||||
sed -i '/vendor.camera.extensions/d' *.prop *.mk &>/dev/null || true; #Disable camera extensions
|
||||
if [ -f system.prop ]; then
|
||||
if ! grep -q "drm.service.enabled=false" system.prop; then echo "drm.service.enabled=false" >> system.prop; fi; #Disable DRM server
|
||||
if ! grep -q "drm.service.enabled=false" system.prop; then echo -e "\ndrm.service.enabled=false\n" >> system.prop; fi; #Disable DRM server
|
||||
fi
|
||||
if [ "$DOS_DEBLOBBER_REMOVE_IMS" = true ]; then
|
||||
sed -i 's/ims.volte=true/ims.volte=false/' *.prop *.mk &>/dev/null || true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue