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. --- sh/runscript.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sh/runscript.sh.in') diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in index a8172dc4..f39ed0af 100644 --- a/sh/runscript.sh.in +++ b/sh/runscript.sh.in @@ -5,7 +5,7 @@ # All rights reserved. Released under the 2-clause BSD license. . @SYSCONFDIR@/init.d/functions.sh -. "$RC_LIBDIR"/sh/rc-functions.sh +. @LIBEXECDIR@/sh/rc-functions.sh # Support LiveCD foo if [ -r /sbin/livecd-functions.sh ]; then -- cgit v1.2.3 From 5acf0e94640c987e1a0a8dbafdb06adbecafed0d Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 26 May 2009 22:36:53 +0100 Subject: We need to use eval so we can pass "*" as an argument. --- sh/runscript.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sh/runscript.sh.in') diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in index f39ed0af..d7020e35 100644 --- a/sh/runscript.sh.in +++ b/sh/runscript.sh.in @@ -84,7 +84,7 @@ start() service_inactive && _inactive=true mark_service_inactive fi - start-stop-daemon --start \ + eval start-stop-daemon --start \ --exec $command \ ${procname:+--name} $procname \ ${pidfile:+--pidfile} $pidfile \ -- cgit v1.2.3