Advertisement
tolikpunkoff

numlock on at boot time (wrong code)

Apr 13th, 2019
736
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.22 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. #this script enabled NumLock on startup
  4. #save script in /etc
  5. #add script in /etc/rc.d/rc.local:
  6. # /etc/nlon >/dev/null 2>/dev/null
  7.  
  8. for TTY in /dev/tty*; do
  9.     /usr/bin/setleds -D +num < "$TTY"
  10. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement