mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +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
|
||||
|
||||
OPENELEC_SETTINGS="$HOME/.xbmc/userdata/addon_data/os.openelec.settings/settings.xml"
|
||||
|
||||
(
|
||||
if [ -f "$OPENELEC_SETTINGS" ]; then
|
||||
X11_KEYMAP=`grep X11_KEYMAP $OPENELEC_SETTINGS | awk '{print $3 }' | sed -e "s,value=,," -e "s,\",,g"`
|
||||
if [ -f /var/config/settings.conf ]; then
|
||||
. /var/config/settings.conf
|
||||
|
||||
progress "setup keyboard layout"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user