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

Contents of /numlock/branches/1/numlock.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1637 - (show annotations) (download) (as text)
Thu Jun 2 20:45:18 2011 UTC (13 years, 8 months ago) by dmorgan
File MIME type: application/x-sh
File size: 269 byte(s)
Branch for updates
1 # 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