aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-06 21:51:30 +0000
committerRoy Marples <roy@marples.name>2008-01-06 21:51:30 +0000
commit956a867a71d7f5157bcd85491373cdcf7e9e2c22 (patch)
tree6ecc46b0ec6fcf60332208dd3b7cfaeb703f61e9
parent26f5eeece1cc476a71bc16c66ead721c86e9cda2 (diff)
No need for basename here
-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