summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2011-10-20 18:39:25 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2011-10-20 18:43:28 +0530
commitd9f4f940b5ceb33c343424f579e3cfa339a5e0d9 (patch)
tree172c630ca9c3b50c150bee8f662d8115c74e1206
parent3dbb7a926ab51e4ed298c696802a129fd8b8c0e7 (diff)
camera: setting the camera permission in post-fs
setting the camera permission in post-fs section giving enough time for camera detection to the kernel. This is needed since camera detection on beagle is taking time. Change-Id: Ia0cbcf21316f221549548d882c23cd154328f00c Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r--init.rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.rc b/init.rc
index 72934d1..37939e6 100644
--- a/init.rc
+++ b/init.rc
@@ -89,9 +89,6 @@ loglevel 3
# 5.0 %
write /dev/cpuctl/bg_non_interactive/cpu.shares 52
- # Set access for camera
- chmod 0666 /dev/video0
-
on fs
# mount mmc partitions
# mmcblk0p1: /boot
@@ -109,6 +106,9 @@ on post-fs
chown system system /data
chmod 0771 /data
+ # Set access for camera
+ chmod 0666 /dev/video0
+
# Create dump dir and collect dumps.
# Do this before we mount cache so eventually we can use cache for
# storing dumps on platforms which do not have a dedicated dump partition.