Mandrake

XFree Local Multi-User HOWTO
Prev | Chapter 9. Special notes on some distributions | Next

# 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

Prev | Home | Next
Special notes on some distributions | Up | Red Hat