Skip to content

Commit

Permalink
81-pwm-noroot.rules: change action to change makes export 0/1 work wi…
Browse files Browse the repository at this point in the history
…th mainline

Signed-off-by: Robert Nelson <[email protected]>
  • Loading branch information
RobertCNelson committed Jul 9, 2020
1 parent 6377ab0 commit ca1c248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/udev/rules.d/81-pwm-noroot.rules
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Corrects sys PWM permissions on the BB so non-root users in the pwm group can
# manipulate pwm along with creating a symlink under /dev/pwm/
#
SUBSYSTEM=="pwm", ACTION=="add", \
SUBSYSTEM=="pwm", ACTION=="change", \
RUN+="/bin/chgrp -R gpio '/sys%p'", \
RUN+="/bin/chmod -R g=u '/sys%p'"

Expand Down

0 comments on commit ca1c248

Please sign in to comment.