#!/bin/bash
for tty in /dev/tty[1-8]; do
    setleds -D +num < $tty
done
		
		