Linuxdoc Linux Questions
Click here to ask our community of linux experts!
Custom Search

9.1. Mandrake

Almost everything is easy to accomplish (probably because I've used it for 2-3 years, at least).

  1. Just a small tweak in /etc/init.d/numlock:

    
--- /etc/init.d/numlock.orig      2003-04-11 00:58:55.000000000 +0200
    +++ /etc/init.d/numlock 2003-03-19 13:03:30.000000000 +0100
    @@ -21,14 +21,14 @@
            echo
            touch $SYSCONF_FILE
            
    -       for tty in /dev/tty[0-8]; do
    +       for tty in /dev/tty[0-7]; do
                    setleds -D +num < $tty
            done
    
            ;;
       stop)
            gprintf "Disabling numlocks on ttys: "
    -       for tty in /dev/tty[0-8]; do
    +       for tty in /dev/tty[0-7]; do
                    setleds -D -num < $tty
            done
            echo_success