On Tue, 17 Oct 2000, you wrote:
> On Tue, 17 Oct 2000, you wrote:
> > Peter Ruskin <[EMAIL PROTECTED]> writes:
> > > /etc/X11/xinit.d reads...
> > > if [ -f /etc/sysconfig/numlock -a -x
> > > /usr/X11R6/bin/enable_X11_numlock]; then
> > > /usr/X11R6/bin/enable_X11_numlock
> > > fi
>
> My /etc/X11/xinit.d reads as above
> Excerpt from my /etc/rc.d/init.d/numlock (RC1)
>
> # The following file make bash to relock the numlock key when logging
> # since login unlock it.
> SYSCONF_FILE=/var/lock/subsys/numlock
> #SYSCONF_FILE=/etc/sysconfig/numlock
Notice which SYCONF_FILE line is commented out.
>
> There is no file /etc/sysconfig/numlock (or NumLock)
> So I created a link from /etc/rc.d/init.d/numlock to /etc/sysconfig -
> numlock turns off at the X login but back on when entering KDE, so I'm
> happy.
The correct fix is to change the "if" statement in /etc/X11/xinit.d/numlock
from:
if [ -f /etc/sysconfig/numlock -a ...
to:
if [ -f /var/lock/sybsys/numlock -a ...
My guess is the "indicator" file was moved for FHS compliance but this script
was missed.