addy75,
> It works when i typ it in the cli.
> Putting it in rc.local doesn't work.
>
Well, something is wrong in your rc.local! If you post it here, I'll take a look.
> Will it be possible (when it works) to make the
> led green, and red only when the drive is written
> on?
Sure
/etc/rc.local
> Maybe orange when it is on sleep-mode?
You're running out of color :) so just play with them, and see what's work.
> It works when i typ it in the cli.
> Putting it in rc.local doesn't work.
>
Well, something is wrong in your rc.local! If you post it here, I'll take a look.
> Will it be possible (when it works) to make the
> led green, and red only when the drive is written
> on?
Sure
/etc/rc.local
echo ide-disk1 > /sys/class/leds/nsa325:red:sata1/trigger echo ide-disk2 > /sys/class/leds/nsa325:red:sata2/trigger
> Maybe orange when it is on sleep-mode?
You're running out of color :) so just play with them, and see what's work.