aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir/etc/init.tab2.rc
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir/etc/init.tab2.rc')
-rw-r--r--rootdir/etc/init.tab2.rc9
1 files changed, 3 insertions, 6 deletions
diff --git a/rootdir/etc/init.tab2.rc b/rootdir/etc/init.tab2.rc
index aaa10c7..40efd2c 100644
--- a/rootdir/etc/init.tab2.rc
+++ b/rootdir/etc/init.tab2.rc
@@ -51,7 +51,7 @@ on fs
# increase read-ahead value to 256 kb
write /sys/block/mmcblk0/queue/read_ahead_kb 256
- mount debugfs /sys/kernel/debug /sys/kernel/debug
+ mount debugfs debugfs /sys/kernel/debug
on post-fs-data
mkdir /data/misc/wifi 0770 wifi system
@@ -93,17 +93,13 @@ on post-fs-data
chmod 0660 /sys/class/rfkill/rfkill0/state
chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/state
chown bluetooth net_bt_stack /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
chmod 0755 /efs/bluetooth
chmod 0644 /efs/bluetooth/bt_addr
-# Change permission for sensor rev00
- chmod 755 /system/bin/geomagneticd
-
+ # Change permission for sensor
chown system input /sys/class/input/input2/enable
chown system input /sys/class/input/input2/poll_delay
@@ -347,6 +343,7 @@ service cpboot-daemon /sbin/cbd -d -p 8
class main
user root
group radio cache inet misc audio sdcard_rw log sdcard_r
+ seclabel u:r:cpboot-daemon:s0
disabled
on property:init.svc.pvrsrvinit=stopped