File: keyboard-setup.sh

package info (click to toggle)
console-setup 1.193~deb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 28,504 kB
  • sloc: perl: 10,929; xml: 5,812; sh: 3,924; makefile: 793
file content (16 lines) | stat: -rwxr-xr-x 390 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

if \
    [ -x /etc/console-setup/cached_setup_keyboard.sh ] \
        && /etc/console-setup/cached_setup_keyboard.sh
then
    :
else
    if [ -f /etc/default/locale ]; then
        # In order to permit auto-detection of the charmap when
        # console-setup-mini operates without configuration file.
        . /etc/default/locale
        export LANG
    fi
    setupcon -k
fi