LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Thread Tools Search this Thread
Old 12-27-2000, 09:53 PM   #1
scott7742
LQ Newbie
 
Registered: Dec 2000
Location: Fredon, NJ 07860
Posts: 1
Thanked: 0

[Log in to get rid of this advertisement]
The script:
for t in 1 2 3 4 5 6 7 8
do
setleds +num < /dev/tty$t > /dev/null
done

was added to /etc/rc.d/rc/local and appeared to execute
because the Num Lock led cam on briefly but was turned off
before the login logo appeared. How can I turn on the
Num Lock led before logging on? This for Redhat 6.1.
scott7742 is offline     Reply With Quote
Old 12-30-2000, 11:53 AM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 7,361
Thanked: 211
Here is the one that I have seen. Let us know if it works.

Code:
INITTY=/dev/tty[1-8]
for tty in $INITTY; do
     setleds -D +num < $tty
done
jeremy is offline     Reply With Quote

Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Caps Lock and Num Lock leds dont work! npc Linux - Hardware 2 11-08-2005 11:40 AM
Num Lock always OFF? Carlwill Fedora 20 03-07-2005 01:51 PM
Num, Scroll, Caps/Lock all Lock up Slackware Zamochit Linux - Newbie 0 10-18-2004 08:47 PM
num lock chrismiceli Linux - General 18 12-16-2002 09:26 PM
Num Lock mtb Linux - Newbie 8 11-27-2002 01:39 AM


All times are GMT -5. The time now is 06:34 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration