aboutsummaryrefslogtreecommitdiff
path: root/src/rc-misc.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-08-09 14:33:20 +0000
committerRoy Marples <roy@marples.name>2007-08-09 14:33:20 +0000
commit0084bc41ef5db968cac0f64ae9d0b31dc7621818 (patch)
treeda0ca3238b1d548211cef40c073f897ce3c3bcc4 /src/rc-misc.h
parent9072ce748ff67e74756adf6883dfb4b12894d9b8 (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-misc.h')
-rw-r--r--src/rc-misc.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/rc-misc.h b/src/rc-misc.h
index 20dc74f7..6ffc868f 100644
--- a/src/rc-misc.h
+++ b/src/rc-misc.h
@@ -11,19 +11,19 @@
# define LIB "lib"
#endif
-#define RC_LIBDIR "/" LIB "/rcscripts/"
-#define RC_SVCDIR RC_LIBDIR "init.d/"
-#define RC_DEPTREE RC_SVCDIR "deptree"
-#define RC_RUNLEVELDIR "/etc/runlevels/"
-#define RC_INITDIR "/etc/init.d/"
-#define RC_CONFDIR "/etc/conf.d/"
-
-#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 RC_PLUGINDIR RC_LIBDIR "plugins/"
+#define RC_LIBDIR "/" LIB "/rcscripts"
+#define RC_SVCDIR RC_LIBDIR "/init.d"
+#define RC_DEPTREE RC_SVCDIR "/deptree"
+#define RC_RUNLEVELDIR "/etc/runlevels"
+#define RC_INITDIR "/etc/init.d"
+#define RC_CONFDIR "/etc/conf.d"
+
+#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 RC_PLUGINDIR RC_LIBDIR "/plugins"
/* Max buffer to read a line from a file */
#define RC_LINEBUFFER 4096