mklive: misc tweaks to generate a proper image with runit.

This commit is contained in:
Juan RP
2014-05-23 15:05:31 +02:00
parent 3b5b9cba6a
commit 07ce345ba6
3 changed files with 16 additions and 4 deletions

View File

@ -18,5 +18,5 @@ KEYMAP=$(getarg vconsole.keymap)
if [ -f ${NEWROOT}/etc/vconsole.conf ]; then
sed -e "s,^KEYMAP=.*,KEYMAP=$KEYMAP," -i $NEWROOT/etc/vconsole.conf
elif [ -f ${NEWROOT}/etc/rc.conf ]; then
sed -e "s,^KEYMAP=.*,KEYMAP=$KEYMAP," -i $NEWROOT/etc/rc.conf.conf
sed -e "s,^#KEYMAP=.*,KEYMAP=$KEYMAP," -i $NEWROOT/etc/rc.conf
fi