mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 23:17:50 +00:00
setxkbmap: simplyfing init script, use system config file
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
d5efec1a95
commit
8527c0a36c
@ -22,11 +22,9 @@
|
|||||||
#
|
#
|
||||||
# runlevels: openelec
|
# runlevels: openelec
|
||||||
|
|
||||||
OPENELEC_SETTINGS="$HOME/.xbmc/userdata/addon_data/os.openelec.settings/settings.xml"
|
|
||||||
|
|
||||||
(
|
(
|
||||||
if [ -f "$OPENELEC_SETTINGS" ]; then
|
if [ -f /var/config/settings.conf ]; then
|
||||||
X11_KEYMAP=`grep X11_KEYMAP $OPENELEC_SETTINGS | awk '{print $3 }' | sed -e "s,value=,," -e "s,\",,g"`
|
. /var/config/settings.conf
|
||||||
|
|
||||||
progress "setup keyboard layout"
|
progress "setup keyboard layout"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user