dotfiles/root/usr/local/bin/numlock

6 lines
83 B
Plaintext
Raw Permalink Normal View History

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