diff options
author | Roy Marples <roy@marples.name> | 2007-08-09 14:33:20 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-08-09 14:33:20 +0000 |
commit | 0084bc41ef5db968cac0f64ae9d0b31dc7621818 (patch) | |
tree | da0ca3238b1d548211cef40c073f897ce3c3bcc4 /src/rc.c | |
parent | 9072ce748ff67e74756adf6883dfb4b12894d9b8 (diff) |
Don't link to rt anymore as it makes dlopen leak - we now use nanosleeps to achieve the same goal (a loop + timeout). No longer put / at the end of directories, instead prefix like so RC_LIBDIR "/foo" to ensure more robust code.
Diffstat (limited to 'src/rc.c')
-rw-r--r-- | src/rc.c | 13 |
1 files changed, 4 insertions, 9 deletions
@@ -37,17 +37,12 @@ #include "rc-plugin.h" #include "strlist.h" -#define INITSH RC_LIBDIR "sh/init.sh" -#define INITEARLYSH RC_LIBDIR "sh/init-early.sh" -#define HALTSH RC_INITDIR "halt.sh" +#define INITSH RC_LIBDIR "/sh/init.sh" +#define INITEARLYSH RC_LIBDIR "/sh/init-early.sh" +#define HALTSH RC_INITDIR "/halt.sh" #define SULOGIN "/sbin/sulogin" -#define RC_SVCDIR_STARTING RC_SVCDIR "starting/" -#define RC_SVCDIR_INACTIVE RC_SVCDIR "inactive/" -#define RC_SVCDIR_STARTED RC_SVCDIR "started/" -#define RC_SVCDIR_COLDPLUGGED RC_SVCDIR "coldplugged/" - -#define INTERACTIVE RC_SVCDIR "interactive" +#define INTERACTIVE RC_SVCDIR "/interactive" #define DEVBOOT "/dev/.rcboot" |