/[soft]/numlock/branches/1/numlock.sh
ViewVC logotype

Annotation of /numlock/branches/1/numlock.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 415 - (hide annotations) (download) (as text)
Thu Feb 3 22:38:52 2011 UTC (13 years, 2 months ago) by dmorgan
Original Path: numlock/trunk/numlock.sh
File MIME type: application/x-sh
File size: 269 byte(s)
Import cleaned numlock
1 dmorgan 415 # Mageia configuration.
2     # ReLock the NumLock key if /etc/rc.d/init.d/numlock has been run.
3     # This is needed because login resets the tty.
4    
5     MY_TTY=`tty`
6     case $MY_TTY in
7     /dev/tty[0-9]*) [ -f /var/lock/subsys/numlock ] && setleds -D +num < $MY_TTY;;
8     esac
9     unset MY_TTY

Properties

Name Value
svn:eol-style native
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.30