diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-03-20 11:28:23 +0000 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-03-20 11:28:23 +0000 |
commit | dd82418998de5294f56416463189b222acee71c6 (patch) | |
tree | e0869770322fd5ecec60671b5d3f0ea4487784e9 | |
parent | 0d58bbc330b1406ecb561b81c324437a6a787a35 (diff) |
adjust to bootcore changes
-rwxr-xr-x | kogaionlive.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kogaionlive.sh b/kogaionlive.sh index 47d201c..12d2cef 100755 --- a/kogaionlive.sh +++ b/kogaionlive.sh @@ -31,8 +31,8 @@ kogaion_live_user_password() { } kogaion_live_locale_switch() { - export local keymap_toset="$(cat /proc/cmdline | cut -d " " -f12 | cut -d "=" -f2)" - export local lang_toset="$(cat /proc/cmdline | cut -d " " -f13 | cut -d "=" -f2)" + export local keymap_toset="$(cat /proc/cmdline | cut -d " " -f5 | cut -d "=" -f2)" + export local lang_toset="$(cat /proc/cmdline | cut -d " " -f6 | cut -d "=" -f2)" if [[ "$lang_toset" != "en_US.utf8" ]] || [[ "$keymap_toset" != "us" ]] ; then /usr/bin/localectl set-locale LANG="$lang_toset" > /dev/null 2>&1 /usr/bin/localectl set-keymap "$keymap_toset" > /dev/null 2>&1 @@ -58,4 +58,3 @@ main() { main exit 0 - |