Home Page › Forums › Network Management › Request a new feature › Support for Alix LEDs › Reply To: Support for Alix LEDs
May 28, 2009 at 10:51 am
#46619
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