Advertisement
tolikpunkoff

numlock on at boot time (wrong code)

Apr 13th, 2019
324
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement