I made it work by adding the chmod to the /etc/rc.d/S96led file.
Probably not ideal, but works for now.
I made it work by adding the chmod to the /etc/rc.d/S96led file.
Probably not ideal, but works for now.
I've been trying to access my led as a non-root user. I get the error:
IOError: [Errno 13] Permission denied: '/sys/class/leds/omega2p:amber:system/trigger'
chmod'ing the appropriate directory (as root) makes it work, but it doesn't persist.
I tried creating a /etc/local.d with the chmod in it but that didn't work.
Is there any persistent way of configuring sysfs?