This commit is contained in:
Gerben Jan Dijkman
2021-07-24 21:03:58 +02:00
parent 329224d372
commit 2690a826bb
32 changed files with 682 additions and 70 deletions

View File

@@ -0,0 +1,5 @@
# SPDX-License-Identifier: GPL-3+
#
# This file is part of flashlight.
SUBSYSTEM=="leds", KERNEL=="white:flash", ACTION=="add", RUN+="/bin/chmod -R a+w /sys%p"

View File

@@ -0,0 +1,2 @@
SUBSYSTEM=="leds", ACTION=="add", KERNEL=="white:flash", \
RUN+="/bin/chmod 777 /sys/class/leds/%k/brightness"