From 956a867a71d7f5157bcd85491373cdcf7e9e2c22 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sun, 6 Jan 2008 21:51:30 +0000 Subject: No need for basename here --- init.d.Linux/consolefont | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.d.Linux/consolefont') 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 -- cgit v1.2.3