Merge pull request #42 from zurx/master

fix set_keymap rc.conf
This commit is contained in:
Juan RP 2015-10-02 09:18:41 +02:00
commit 82d2090009

View File

@ -299,7 +299,7 @@ set_keymap() {
if [ -f /etc/vconsole.conf ]; then
sed -i -e "s|KEYMAP=.*|KEYMAP=$KEYMAP|g" $TARGETDIR/etc/vconsole.conf
else
sed -i -e "s|KEYMAP=.*|KEYMAP=$KEYMAP|g" $TARGETDIR/etc/rc.conf
sed -i -e "s|#\?KEYMAP=.*|KEYMAP=$KEYMAP|g" $TARGETDIR/etc/rc.conf
fi
}