summaryrefslogtreecommitdiff
path: root/init.rc
diff options
context:
space:
mode:
Diffstat (limited to 'init.rc')
-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.