twolip: rootdir: Commonize fingerprint chmod

Change-Id: Ie3f58519927e0023363229d6e53d8ca1ee955ddb
This commit is contained in:
Davide Garberi 2020-02-29 16:21:12 +01:00
parent dbfd73e292
commit 77a6631f3e

View file

@ -33,14 +33,6 @@ on boot
chown system system /sys/android_camera/sensor
# Fingerprint
chmod 0660 /sys/devices/soc/soc:fpc1020/hw_reset
chmod 0660 /sys/devices/soc/soc:fpc1020/irq
chmod 0660 /sys/devices/soc/soc:fpc1020/wakeup_enable
chmod 0660 /sys/devices/soc/soc:fpc1020/fingerdown_wait
chown system system /sys/devices/soc/soc:fpc1020/hw_reset
chown system system /sys/devices/soc/soc:fpc1020/irq
chown system system /sys/devices/soc/soc:fpc1020/wakeup_enable
chown system system /sys/devices/soc/soc:fpc1020/fingerdown_wait
chmod 0600 /data/misc/fpc/calibration_image.pndat
# Flash