]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
i18n/parse-i18n.sh: correctly populate /etc/vconsole.conf
authorHarald Hoyer <harald@redhat.com>
Mon, 8 Oct 2012 13:38:41 +0000 (15:38 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 8 Oct 2012 13:38:41 +0000 (15:38 +0200)
modules.d/10i18n/parse-i18n.sh

index cff942a78aaec12639f7616d0da9396b93b6b8f6..5a3d8043990d85b2b6c1a98003c70c66ba94fe7c 100755 (executable)
@@ -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