From c0fd1b49e49cec28c1f5a3a76f9db11c62e550dc Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sat, 23 May 2009 20:38:12 +0100 Subject: 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. --- init.d/consolefont.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'init.d/consolefont.in') 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 -- cgit v1.2.3