Skip to content

Commit

Permalink
fix spotlight permissions
Browse files Browse the repository at this point in the history
For Torch app
  • Loading branch information
nadlabak committed Dec 2, 2010
1 parent ece9578 commit 10d3292
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion prebuilt/etc/rootfs/init.mapphone_umts.rc
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,10 @@ mount rootfs rootfs / ro remount
chmod 0660 /sys/class/leds/torch-flash/flash_light
chown system system /sys/class/leds/torch-flash/camera_strobe
chown system system /sys/class/leds/torch-flash/flash_light
chown system system /sys/class/leds/spotlight/brightness

# flashlight
chown system camera /sys/class/leds/spotlight/brightness
chmod 0660 /sys/class/leds/spotlight/brightness

# Change ownership of vibrator
chmod 0660 /sys/class/timed_output/vibrator/enable
Expand Down

0 comments on commit 10d3292

Please sign in to comment.