diff options
author | Roy Marples <roy@marples.name> | 2009-05-23 20:38:12 +0100 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2009-05-23 20:38:12 +0100 |
commit | c0fd1b49e49cec28c1f5a3a76f9db11c62e550dc (patch) | |
tree | fe1f406f976dbcec3d7225ccf1b0f08f6957dfcc /init.d/consolefont.in | |
parent | 5294abe6171610a1aa0eb093774bed9bb965c9cf (diff) |
Move non compiled libraries from /lib/rc to /libexec/rc
OpenRC version is now stored as plaintext in /libexec/rc/version
Plugins (cursplash, splashutils) will have to be re-compiled to pickup
the new directories. State data needs to be moved from /lib/rc/init.d
to /libexec/rc/init.d as well.
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 |