summaryrefslogtreecommitdiff
path: root/sh.Linux
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-08-04 20:35:05 +0000
committerRoy Marples <roy@marples.name>2007-08-04 20:35:05 +0000
commit1e4357ad01ad7d0f97aa760ebb0ad4d281bc7eda (patch)
tree4bade75f7c2ac41bc8e22e8c4eea67a463bab11c /sh.Linux
parent3e5526fd764a2701575e73e88293933c4e7bbd45 (diff)
downloadopenrc-1e4357ad01ad7d0f97aa760ebb0ad4d281bc7eda.tar.gz
openrc-1e4357ad01ad7d0f97aa760ebb0ad4d281bc7eda.tar.bz2
openrc-1e4357ad01ad7d0f97aa760ebb0ad4d281bc7eda.tar.xz
Boot properly when we cannot set an early font, #187628.
Diffstat (limited to 'sh.Linux')
-rwxr-xr-xsh.Linux/init-early.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/sh.Linux/init-early.sh b/sh.Linux/init-early.sh
index 3d2e224..1bdf1fd 100755
--- a/sh.Linux/init-early.sh
+++ b/sh.Linux/init-early.sh
@@ -10,6 +10,9 @@ if [ -e /etc/runlevels/"${RC_DEFAULTLEVEL}"/consolefont \
font="$(cat "${RC_LIBDIR}"/console/font)"
CONSOLE="${CONSOLE:-/dev/console}"
[ -c "${CONSOLE}" ] && cons="-C ${CONSOLE}"
- setfont ${cons} "${RC_LIBDIR}"/console/"${font}"
+ setfont ${cons} "${RC_LIBDIR}"/console/"${font}" 2>/dev/null
fi
fi
+
+# Ensure we exit 0 so the boot continues
+exit 0