SHARE
TWEET

numlock on at boot time (wrong code)

tolikpunkoff Apr 13th, 2019 72 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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top