dre: update kernel scripts from fogos U1UGS34.23-110-2-1

Change-Id: I6e008352da977617e1b21c8e7b9f80df58cfdfbf
This commit is contained in:
Nick Reuter 2024-11-23 11:29:35 -06:00 committed by Albert Tang
parent 09e4c842fe
commit 384d8c5c98
4 changed files with 39 additions and 7 deletions

View file

@ -0,0 +1,14 @@
--- a/init.kernel.post_boot-blair.sh
+++ b/init.kernel.post_boot-blair.sh
@@ -32,11 +32,6 @@
#=============================================================================
function configure_zram_parameters() {
- # Moto yangbq2: Skip this if we are using zram from fstab.
- using_zram_from_fstab=`getprop ro.boot.using_zram_from_fstab`
- if [ "$using_zram_from_fstab" == "true" ]; then
- return
- fi
MemTotalStr=`cat /proc/meminfo | grep MemTotal`
MemTotal=${MemTotalStr:16:8}

View file

@ -0,0 +1,14 @@
--- a/init.kernel.post_boot-holi.sh
+++ b/init.kernel.post_boot-holi.sh
@@ -32,11 +32,6 @@
#=============================================================================
function configure_zram_parameters() {
- # Moto yangbq2: Skip this if we are using zram from fstab.
- using_zram_from_fstab=`getprop ro.boot.using_zram_from_fstab`
- if [ "$using_zram_from_fstab" == "true" ]; then
- return
- fi
MemTotalStr=`cat /proc/meminfo | grep MemTotal`
MemTotal=${MemTotalStr:16:8}