dotfiles/root/usr/local/bin/numlock

6 lines
83 B
Bash
Executable file

#!/bin/bash
for tty in /dev/tty[0-9]; do
/usr/bin/setleds -D +num < "$tty"
done