#!/bin/sh# partial port of livecd-setlocale (kbd bits)CONFIG=/etc/sysconfig/keyboard# Requires: console-scriptsif[-s"$CONFIG"];thenecho"** l10n-kbd: expected $CONFIG to be an empty file">&2exit 0fiif[-z"$GLOBAL_KEYTABLE"];thenecho"** l10n-kbd: empty GLOBAL_KEYTABLE">&2exit 0fiecho"KEYTABLE=$GLOBAL_KEYTABLE">"$CONFIG"