aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir/init.espresso10.rc
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir/init.espresso10.rc')
-rwxr-xr-xrootdir/init.espresso10.rc4
1 files changed, 3 insertions, 1 deletions
diff --git a/rootdir/init.espresso10.rc b/rootdir/init.espresso10.rc
index eb0733f..866c73a 100755
--- a/rootdir/init.espresso10.rc
+++ b/rootdir/init.espresso10.rc
@@ -107,10 +107,12 @@ on post-fs-data
setprop ro.bt.bdaddr_path "/efs/bluetooth/bt_addr"
chown bluetooth bluetooth ro.bt.bdaddr_path
chown bluetooth bluetooth /dev/ttyO1
- chmod 0600 /dev/ttyO1
+ chmod 0660 /dev/ttyO1
chmod 0660 /sys/class/rfkill/rfkill0/state
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
+ restorecon /sys/class/rfkill/rfkill0/state
+ restorecon /sys/class/rfkill/rfkill0/type
# for samsung factory.
chown radio radio /efs/bluetooth