summaryrefslogtreecommitdiffstats
path: root/init.herring.rc
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2010-09-03 17:22:42 -0700
committerNick Pelly <npelly@google.com>2010-09-27 16:33:45 -0700
commit5cc7d6494be03afcba996451b2f3b7c64d15ce5d (patch)
treeb12e71d3b679851fd2883c769382eba809378321 /init.herring.rc
parent4446949fada172a194be1f785e4bcc5dde1149d1 (diff)
downloaddevice_samsung_crespo-5cc7d6494be03afcba996451b2f3b7c64d15ce5d.tar.gz
device_samsung_crespo-5cc7d6494be03afcba996451b2f3b7c64d15ce5d.tar.bz2
device_samsung_crespo-5cc7d6494be03afcba996451b2f3b7c64d15ce5d.zip
Set perms for /dev/pn544.
Change-Id: I35c3364f4eb552886cb689f2c9de88abba64b078 Signed-off-by: Nick Pelly <npelly@google.com>
Diffstat (limited to 'init.herring.rc')
-rwxr-xr-xinit.herring.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.herring.rc b/init.herring.rc
index 75fc649..fec83ee 100755
--- a/init.herring.rc
+++ b/init.herring.rc
@@ -95,6 +95,10 @@ on fs
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
+# permissions for NFC
+ setprop ro.nfc.port "I2C"
+ chmod 0666 /dev/pn544
+
# Permissions for System Server and daemons.
chown system system /sys/class/backlight/s5p_bl/brightness