Hi.  I want to turn numlock automatically, but I am using systemd and I
am having troubles doing this.  At someones suggestion in a previous
message (I think Canek's) I created
/etc/systemd/system/getty@service.d/numlock.conf with the following
contents

[Service]
ExecStartPost=/usr/bin/setleds -D -num </dev/%I


However, setleds dies with the following error:
Jun 19 14:24:55 ccs.covici.com setleds[4878]: KDGKBLED: Inappropriate
ioctl for device
Jun 19 14:24:55 ccs.covici.com setleds[4878]: Error reading current
flags setting. Maybe you are not on the console?

I tried to fool with chvt to make the console current, but no joy there.

Any assistance would be appreciated.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         cov...@ccs.covici.com

Reply via email to