keyboard-setup.sh 390 B

12345678910111213141516
  1. #!/bin/sh
  2. if \
  3. [ -x /etc/console-setup/cached_setup_keyboard.sh ] \
  4. && /etc/console-setup/cached_setup_keyboard.sh
  5. then
  6. :
  7. else
  8. if [ -f /etc/default/locale ]; then
  9. # In order to permit auto-detection of the charmap when
  10. # console-setup-mini operates without configuration file.
  11. . /etc/default/locale
  12. export LANG
  13. fi
  14. setupcon -k
  15. fi