aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinit.d.Linux/consolefont2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d.Linux/consolefont b/init.d.Linux/consolefont
index 22e63422..d60b65ae 100755
--- a/init.d.Linux/consolefont
+++ b/init.d.Linux/consolefont
@@ -89,7 +89,7 @@ start() {
for font in /usr/share/consolefonts/"${consolefont}".*; do :; done
cp "${font}" "${RC_LIBDIR}"/console
- echo "$(basename "${font}")" > "${RC_LIBDIR}"/console/font
+ echo "${font##*/}" > "${RC_LIBDIR}"/console/font
if yesno ${unicode:-${UNICODE}}; then
cp /dev/null "${RC_LIBDIR}"/console/unicode
else