Fix early setting of font
This commit is contained in:
@@ -72,14 +72,9 @@ start() {
|
||||
if [ ${retval} -eq 0 -a -w "${RC_LIBDIR}" ] ; then
|
||||
mkdir -p "${RC_LIBDIR}"/console
|
||||
|
||||
# Pipe errors to null as maps may not be in use
|
||||
/bin/setfont -o "${RC_LIBDIR}"/console/font 2>/dev/null \
|
||||
|| rm -f "${RC_LIBDIR}"/console/font
|
||||
/bin/setfont -om "${RC_LIBDIR}"/console/map 2>/dev/null \
|
||||
|| rm -f "${RC_LIBDIR}"/console/map
|
||||
/bin/setfont -ou "${RC_LIBDIR}"/console/unimap 2>/dev/null \
|
||||
|| rm -f "${RC_LIBDIR}"/console/unimap
|
||||
|
||||
for font in /usr/share/consolefonts/"${CONSOLEFONT}".* ; do : ; done
|
||||
cp "${font}" "${RC_LIBDIR}"/console
|
||||
echo "$(basename "${font}")" > "${RC_LIBDIR}"/console/font
|
||||
if [ "${UNICODE}" = "yes" ] ; then
|
||||
touch "${RC_LIBDIR}"/console/unicode
|
||||
else
|
||||
|
Reference in New Issue
Block a user