sm8350-common: Update init scripts from OOS 11.2.5.5

Change-Id: Ia4e798ae3c5cbdb7246669b833c75e7058efa523
This commit is contained in:
Bruno Martins 2021-05-25 23:59:05 +01:00
commit b2e66f9cc7
27 changed files with 2040 additions and 665 deletions

View file

@ -3,6 +3,7 @@
export PATH=/vendor/bin
prefix="/sys/class/oplus_chg"
call_on_name="call_on"
if [[ -d "$prefix" ]]
then
@ -15,8 +16,14 @@ then
then
continue
else
chown -h system.system "$prefix"/"$i"/"$j"
if [[ "$j" == "$call_on_name" ]]
then
chown -h radio.radio "$prefix"/"$i"/"$j"
else
chown -h system.system "$prefix"/"$i"/"$j"
fi
fi
done
done
fi
fi