diff options
Diffstat (limited to 'numlock_hook')
-rw-r--r-- | numlock_hook | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/numlock_hook b/numlock_hook new file mode 100644 index 000000000000..04991283c714 --- /dev/null +++ b/numlock_hook @@ -0,0 +1,9 @@ +#!/bin/sh + +run_hook () +{ + INITTY=/dev/tty[1-6] + for tty in $INITTY; do + /usr/bin/setleds -D +num < $tty + done +} |