summaryrefslogtreecommitdiff
path: root/scripts/casper-bottom/19keyboard
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/casper-bottom/19keyboard')
-rwxr-xr-xscripts/casper-bottom/19keyboard7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/casper-bottom/19keyboard b/scripts/casper-bottom/19keyboard
index 81cce72..fc2baf9 100755
--- a/scripts/casper-bottom/19keyboard
+++ b/scripts/casper-bottom/19keyboard
@@ -20,7 +20,7 @@ esac
log_begin_msg "$DESCRIPTION"
-kbd=us
+kbd=
cslayout=
csvariant=
csmodel=
@@ -28,7 +28,12 @@ csmodel=
# commandline
if [ -n "${KBD}" ]; then
kbd="${KBD}"
+else
+ kbd=us
fi
+
+really_export kbd
+
if [ -n "${CSLAYOUT}" ]; then
cslayout="${CSLAYOUT}"
fi