Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # /etc/udev/rules.d/80-i2c-noroot.rules
- #
- #udevadm test $(udevadm info --query=path --name=i2c-0)
- #
- SUBSYSTEM=="i2c-dev", GROUP="gpio", ACTION=="add", \
- RUN+="/bin/chgrp -R gpio '/sys%p'", \
- RUN+="/bin/chmod -R g=u '/sys%p'"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement