Now let's check whether the setleds that was invoked in the script actually works. e.g. try /usr/bin/setleds -D +num < /dev/tty1 on VT1. Does it enable the numlock LED? (Also -D -num to disable LED.)