summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2016-03-23 21:40:49 +0800
committerDmitry Shmidt <dimitrysh@google.com>2016-03-23 12:13:41 -0700
commit4a35cdfb023d6253830d86d5277c582f32aaefb7 (patch)
tree33809f95ef88b4e9f5222746c1291affe6531d03
parent05ba0869a19a342950c4d941948df055421644d2 (diff)
downloadhikey-4a35cdfb023d6253830d86d5277c582f32aaefb7.tar.gz
init.hikey.rc & ueventd.hikey.rc: move owner and permission setting to ueventd file
move the settings of owner and permission from init.hikey.rc to ueventd.hikey.rc to make use of the ueventd feature Change-Id: I4f6e94e116f3ce2c32c81f5718127edfd28365de Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rw-r--r--init.hikey.rc7
-rw-r--r--ueventd.hikey.rc2
2 files changed, 2 insertions, 7 deletions
diff --git a/init.hikey.rc b/init.hikey.rc
index 653f3d96..6cc0f6ff 100644
--- a/init.hikey.rc
+++ b/init.hikey.rc
@@ -11,11 +11,6 @@ on init
# (if randomization is enabled the AEM-JIT will have a lower cache hit rate)
write /proc/sys/kernel/randomize_va_space 0
-#bluetooth
- #UART device
- chmod 0660 /dev/ttyAMA1
- chown bluetooth net_bt_stack /dev/ttyAMA1
-
on fs
mount_all /fstab.hikey
setprop ro.crypto.fuse_sdcard false
@@ -48,8 +43,6 @@ on post-fs
chmod 0666 /dev/ump
chmod 0666 /dev/ion
- chmod 0666 /dev/mali
- chown system.graphics /dev/mali
chmod 0666 /dev/graphics/fb0
# fake some battery state
diff --git a/ueventd.hikey.rc b/ueventd.hikey.rc
index 9f1b2efd..7a1eed61 100644
--- a/ueventd.hikey.rc
+++ b/ueventd.hikey.rc
@@ -1 +1,3 @@
/dev/hci_tty 0666 root root
+/dev/ttyAMA1 0660 bluetooth net_bt_stack
+/dev/mali 0666 system graphics