slitaz-boot-scripts rev 466
bootopts.sh: ensure keyboard is defined (for uefi case)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 15 15:00:15 2020 +0000 (2020-09-15) |
parents | f92ced20dc0d |
children | dacad4df6c6a |
files | etc/init.d/bootopts.sh |
line diff
1.1 --- a/etc/init.d/bootopts.sh Sat Aug 15 10:56:01 2020 +0000 1.2 +++ b/etc/init.d/bootopts.sh Tue Sep 15 15:00:15 2020 +0000 1.3 @@ -216,3 +216,7 @@ 1.4 continue ;; 1.5 esac 1.6 done 1.7 +if [ ! -s /etc/keymap.conf ]; then 1.8 + [ -z "$KEYMAP" ] && tazkeymap 1.9 + [ -z "$LANG" ] && tazlocale 1.10 +fi > /dev/tty1