Skip to content

Instantly share code, notes, and snippets.

@enricostano
Last active April 28, 2016 23:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enricostano/9334fdbe540a0a483a1314b1a42b4280 to your computer and use it in GitHub Desktop.
Save enricostano/9334fdbe540a0a483a1314b1a42b4280 to your computer and use it in GitHub Desktop.
@enricostano
Copy link
Author

enricostano commented Apr 28, 2016

udev rule:

SUBSYSTEM=="gpio*", PROGRAM="/bin/sh -c '\
    chown -R root:gpio /sys/class/gpio && chmod -R 770 /sys/class/gpio;
    chown -R root:gpio /sys$devpath && chmod -R 770 /sys$devpath\
'"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment