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
cleanup-cruft
Tim Yamin 20 years ago
parent 6f4931c652
commit a8c96fa4cb

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

Loading…
Cancel
Save