diff options
Diffstat (limited to 'init.d/consolefont.in')
-rw-r--r-- | init.d/consolefont.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/init.d/consolefont.in b/init.d/consolefont.in index 5900ef72..ecd36660 100644 --- a/init.d/consolefont.in +++ b/init.d/consolefont.in @@ -52,17 +52,17 @@ start() eend $retval # Store the last font so we can use it ASAP on boot - if [ $retval -eq 0 -a -w "$RC_LIBDIR" ]; then - mkdir -p "$RC_LIBDIR"/console + if [ $retval -eq 0 -a -w "$RC_LIBEXECDIR" ]; then + mkdir -p "$RC_LIBEXECDIR"/console for font in /usr/share/consolefonts/"$consolefont".*; do : done - cp "$font" "$RC_LIBDIR"/console - echo "${font##*/}" >"$RC_LIBDIR"/console/font + cp "$font" "$RC_LIBEXECDIR"/console + echo "${font##*/}" >"$RC_LIBEXECDIR"/console/font if yesno ${unicode:-${UNICODE}}; then - echo "" > "$RC_LIBDIR"/console/unicode + echo "" > "$RC_LIBEXECDIR"/console/unicode else - rm -f "$RC_LIBDIR"/console/unicode + rm -f "$RC_LIBEXECDIR"/console/unicode fi fi |