mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-02 01:58:27 +00:00
Merge "wahoo: support separate charger kernel module config" into oc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
06082c0a68
@@ -7,7 +7,11 @@
|
||||
### ... ###
|
||||
#########################################
|
||||
|
||||
cfg_file="/vendor/etc/init.insmod.cfg"
|
||||
if [[ -e "/vendor/etc/init.insmod_charger.cfg" && "$(getprop ro.boot.mode)" == "charger" ]]; then
|
||||
cfg_file="/vendor/etc/init.insmod_charger.cfg"
|
||||
else
|
||||
cfg_file="/vendor/etc/init.insmod.cfg"
|
||||
fi
|
||||
|
||||
if [ -f $cfg_file ]; then
|
||||
while IFS=" " read -r action name
|
||||
|
||||
Reference in New Issue
Block a user