mirror of
https://github.com/S3NEO/android_device_samsung_msm8226-common.git
synced 2024-11-06 21:55:45 +00:00
msm8226-common: cleanup filesystem mounting when starting in offline charger mode
This commit is contained in:
parent
011268be6b
commit
51e63aa497
1 changed files with 2 additions and 7 deletions
|
@ -99,13 +99,8 @@ on init
|
|||
write /dev/cpuset/camera-daemon/cpus 0-3
|
||||
|
||||
on charger
|
||||
mount ext4 /dev/block/platform/msm_sdcc.1/by-name/system /system wait ro
|
||||
|
||||
wait /dev/block/platform/msm_sdcc.1/by-name/userdata
|
||||
check_fs /dev/block/platform/msm_sdcc.1/by-name/userdata ext4
|
||||
mount ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata /data nosuid nodev noatime noauto_da_alloc,discard,journal_async_commit,errors=panic
|
||||
chown system system /data
|
||||
chmod 0771 /data
|
||||
wait /dev/block/platform/msm_sdcc.1/by-name/system
|
||||
mount ext4 /dev/block/platform/msm_sdcc.1/by-name/system /system ro barrier=1 errors=panic
|
||||
|
||||
class_start charger
|
||||
write /sys/devices/system/cpu/cpu1/online 1
|
||||
|
|
Loading…
Reference in a new issue