Add missing mkdir -p /etc/sysconfig to linuxrc.
authorTim Yamin <plasmaroo@gentoo.org>
Sun, 13 Mar 2005 12:53:42 +0000 (12:53 +0000)
committerTim Yamin <plasmaroo@gentoo.org>
Sun, 13 Mar 2005 12:53:42 +0000 (12:53 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@188 67a159dc-881f-0410-a524-ba9dfbe2cb84

generic/linuxrc

index 3e74c4f486ca58ba7f36f884f6fb4b774b37ba60..73779df1428dc3f19a118f8ea39e278a7063d795 100644 (file)
@@ -131,6 +131,7 @@ chooseKeymap() {
                if [ "$?" -eq '0'  ]; then
                        xkeymap=`tail -n 7 /lib/keymaps/keymapList | grep ${keymap} | sed -r "s/.*\s+${keymap}\s+([a-z-]+).*/\1/g" | egrep -v 1`
                fi
+               mkdir -p /etc/sysconfig
                echo "XKEYBOARD=${xkeymap}" > /etc/sysconfig/keyboard
        elif [ "$keymap" = '' ]
        then