;;
esac
-# live-initramfs header
+# live-boot header
if [ -n "${NOCONSOLEKEYBOARD}" ]
then
log_begin_msg "Setting up console keyboard"
-# live-initramfs script
+# live-boot script
kbd=
cslayout=
if [ -f /root/etc/init.d/usplash ]
then
sed -i 's/CONSOLE_SCREEN=$/CONSOLE_SCREEN=setupcon/; t END; b; : END; n; b END' /root/etc/init.d/usplash
+ elif [ -f /root/etc/init/usplash.conf ]
+ then
+ sed -i '/^post-stop script/a\
+ setupcon' /root/etc/init/usplash.conf
fi
fi
elif [ -e /root/usr/sbin/install-keymap ]