summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-10-08 15:38:41 +0200
committerHarald Hoyer <harald@redhat.com>2012-10-08 15:38:41 +0200
commitfdf2b152e50e1edbb15689a16ced26ba8ee53e65 (patch)
tree35444b72fee123e1b3420632c94c4545d615c6cc
parent178c189b0b3f83d3339a30ad4846a159b0e6e5d0 (diff)
downloaddracut-fdf2b152e50e1edbb15689a16ced26ba8ee53e65.tar.gz
dracut-fdf2b152e50e1edbb15689a16ced26ba8ee53e65.tar.bz2
dracut-fdf2b152e50e1edbb15689a16ced26ba8ee53e65.zip
i18n/parse-i18n.sh: correctly populate /etc/vconsole.conf
-rwxr-xr-xmodules.d/10i18n/parse-i18n.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/10i18n/parse-i18n.sh b/modules.d/10i18n/parse-i18n.sh
index cff942a7..5a3d8043 100755
--- a/modules.d/10i18n/parse-i18n.sh
+++ b/modules.d/10i18n/parse-i18n.sh
@@ -13,7 +13,7 @@ inst_key_val() {
_value=$(getarg $@)
[ -z "${_value}" ] && _value=$_default
if [ -n "${_value}" ]; then
- printf '%s="%s"\n' $1 ${_value} >> $_file
+ printf '%s="%s"\n' $2 ${_value} >> $_file
fi
unset _file
unset _value