Reply To: Support for Alix LEDs

Home Page Forums Network Management Request a new feature Support for Alix LEDs Reply To: Support for Alix LEDs

#46619

a_brandl
Member

I didn’t write the software, just provided the link 😉

When you start alixled without arguments, it shows a short
usage description:

[…]
Usage:
– alixled led1|led2|led3|all on|off|toggle|state [debug]
– alixled switch state [debug]

Up to now I’ve only usedl “alixled led1 on” or “alixled 2 off”, depending on the state
of the device. Here is a short example that sets the state of the first LED to on or
off, depending on the online state of the device


[Perform an online check, e.g. with wget]
if [ $? -eq 0 ]; then
[path to alixled] led1 on
else
[path to alixled] led1 off
fi

Regards,

Albert Brandl