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 /src/rc/start-stop-daemon.c | |
parent | 5294abe6171610a1aa0eb093774bed9bb965c9cf (diff) | |
download | openrc-c0fd1b49e49cec28c1f5a3a76f9db11c62e550dc.tar.gz openrc-c0fd1b49e49cec28c1f5a3a76f9db11c62e550dc.tar.bz2 openrc-c0fd1b49e49cec28c1f5a3a76f9db11c62e550dc.tar.xz |
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 'src/rc/start-stop-daemon.c')
-rw-r--r-- | src/rc/start-stop-daemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rc/start-stop-daemon.c b/src/rc/start-stop-daemon.c index bede39b..58bc23e 100644 --- a/src/rc/start-stop-daemon.c +++ b/src/rc/start-stop-daemon.c @@ -1188,8 +1188,8 @@ start_stop_daemon(int argc, char **argv) while (*p == ':') p++; } - if (strcmp(token, RC_LIBDIR "/bin") != 0 && - strcmp(token, RC_LIBDIR "/sbin") != 0) + if (strcmp(token, RC_LIBEXECDIR "/bin") != 0 && + strcmp(token, RC_LIBEXECDIR "/sbin") != 0) { len = strlen(token); if (np != newpath) |