I can confirm that this works flawlessly on a Pi 2. Thanks very much, rbiks! I'm using my Pi 2 as a music player in the bedroom and the LEDs were somewhat annoying.
I also had no trouble adding it to /etc/rc.local (on Raspbian Jessie), Ethernet LEDs turn off immediately after reboot.
The_Unknown wrote:I tried to add it to the super user level /etc/rc.local file but not success. The file is read but my commands (which of course in this case don't use the sudo command) aren't executed.
That's strange. As I wrote, this works flawlessly for me. What version of which OS are you running? What exactly did you put into /etc/rc.local? Did you give the full path for the llctl binary? Here's what it looks like on my system:
Code: Select all
reiter@nacht:~$ grep llctl /etc/rc.local
/usr/local/bin/llctl f0 l0 d0