From: Tim Yamin Date: Sun, 13 Mar 2005 12:53:42 +0000 (+0000) Subject: Add missing mkdir -p /etc/sysconfig to linuxrc. X-Git-Tag: v3.4.10.902~564 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a8c96fa4cb75b8795ba254274705640131fc852c;p=genkernel.git Add missing mkdir -p /etc/sysconfig to linuxrc. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@188 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- diff --git a/generic/linuxrc b/generic/linuxrc index 3e74c4f..73779df 100644 --- a/generic/linuxrc +++ b/generic/linuxrc @@ -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