File 20-pinephone-led.rules of Package pinephone-helpers

# Setup the flash LED for use by flashlight
ACTION=="remove", GOTO="pinephone_led_end"
SUBSYSTEM=="leds", KERNEL=="white:flash", RUN+="/bin/chmod g+w /sys%p/brightness /sys%p/flash_strobe", RUN+="/bin/chown :video /sys%p/brightness /sys%p/flash_strobe"
LABEL="pinephone_led_end"
openSUSE Build Service is sponsored by