summaryrefslogtreecommitdiff
path: root/init.d/consolefont.in
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-05-29 14:15:12 +0100
committerRoy Marples <roy@marples.name>2009-05-29 14:15:12 +0100
commit83e82c452e89bf27de2a7b01bc2356c9050b2a18 (patch)
treea4f8843c7c02a6b51abb06a16f0a9a6665facc71 /init.d/consolefont.in
parent9c5faf231ccf50695270034ab63f747fa2bef1d7 (diff)
parenta518d34549fd80268e9c70d2300808b63c54825c (diff)
downloadopenrc-83e82c452e89bf27de2a7b01bc2356c9050b2a18.tar.gz
openrc-83e82c452e89bf27de2a7b01bc2356c9050b2a18.tar.bz2
openrc-83e82c452e89bf27de2a7b01bc2356c9050b2a18.tar.xz
Merge branch 'master' of ssh://roy.marples.name/var/git/openrc
Diffstat (limited to 'init.d/consolefont.in')
-rw-r--r--init.d/consolefont.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/init.d/consolefont.in b/init.d/consolefont.in
index 5900ef7..ecd3666 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