peach-workspace/peach-config/conf/50-gpio.rules
2021-08-06 13:58:40 -04:00

2 lines
147 B
Plaintext

SUBSYSTEM=="gpio", KERNEL=="gpiochip*", ACTION=="add", PROGRAM="/bin/sh -c 'chown -R root:gpio-user /dev/gpiochip* ; chmod -R 770 /dev/gpiochip*'"