I need to enable numlock on the console /dev/tty{1..6} with setleds (numlockx for is dedicated to X11) :
#!/bin/sh -e
# Turn Numlock on for the TTYs:
for tty in /dev/tty[1-6]; do
/usr/bin/setleds -D +num < $tty
done
But there is no /etc/rc.local file on my system, what is the canonical way to do that ?