klte-common: Actually set perms/ownership of vibrator interfaces

* That would be a generally good idea
* How about you include all of the changed files in the commit?
* Don't cause bootloops, you Derp Derp Derpy Derp

Change-Id: Iabec82a30d0e32061f11e4819c95a9651e51ef3a
This commit is contained in:
Kevin F. Haggerty 2016-06-11 08:29:24 -06:00
parent 3f970517fe
commit 05b92279f7
1 changed files with 4 additions and 10 deletions

View File

@ -139,16 +139,10 @@ on post-fs-data
chown system system /sys/class/input/input2/enabled
# Vibrator
chmod 0644 /sys/class/timed_output/vibrator/pwm_value
chown root system /sys/class/timed_output/vibrator/pwm_value
chmod 0644 /sys/class/timed_output/vibrator/pwm_max
chown root system /sys/class/timed_output/vibrator/pwm_max
chmod 0644 /sys/class/timed_output/vibrator/pwm_min
chown root system /sys/class/timed_output/vibrator/pwm_min
chmod 0644 /sys/class/timed_output/vibrator/pwm_default
chown root system /sys/class/timed_output/vibrator/pwm_default
chmod 0644 /sys/class/timed_output/vibrator/pwm_threshold
chown root system /sys/class/timed_output/vibrator/pwm_threshold
chmod 0644 /sys/class/timed_output/vibrator/enable
chown system system /sys/class/timed_output/vibrator/enable
chmod 0644 /sys/class/timed_output/vibrator/intensity
chown system system /sys/class/timed_output/vibrator/intensity
#Create the symlink to qcn wpa_supplicant folder for ar6000 wpa_supplicant
mkdir /data/system 0775 system system