power supply. it has to have one.
the procedure of that first link looks copy paste to me.
Code:
#!/bin/bash
FLAGS=$(xset -q | awk 'NR==2' | awk '{ print $10 }')
if [ "$FLAGS" = 00000000 ]; then
xset led on
else
xset led off
fi
then you'd have to put a line in your .xinitrc or somewhere file that will load the shell script upon login, or in a place your kernel will run it upon boot up. Just be sure you have
xset installed.