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.
This commit is contained in:
13
src/rc.c
13
src/rc.c
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user