search for: hotplugdir

Displaying 2 results from an estimated 2 matches for "hotplugdir".

2004 Feb 27
0
hotplug for klibc utils
...+ * Hotplug Multiplexer + * Author(s) Christian Borntraeger <cborntra@de.ibm.com> + */ + +#include <dirent.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <sys/types.h> +#include <sys/wait.h> +#include <unistd.h> + +#define HOTPLUGDIR "/etc/hotplug.d" +#define SUFFIX ".hotplug" + +static inline void run_agent(char *name, char *parm) +{ + pid_t pid; + + if (strlen(name) < sizeof (SUFFIX)) + return; + + if (strcmp(name + strlen(name) - sizeof (".hotplug") + 1, ".hotplug") != 0) + return...
2007 Aug 07
1
pkgconfig fix for nut
...n sync. --- configure.in +++ configure.in @@ -39,10 +39,6 @@ cgiexecdir='${exec_prefix}/cgi-bin' driverexecdir='${exec_prefix}/bin' htmldir='${prefix}/html' -pkgcfgdir='/usr/lib/pkgconfig' -if test ! -d "${pkgcfgdir}"; then - pkgcfgdir='' -fi hotplugdir='/etc/hotplug' if test ! -d "${hotplugdir}"; then hotplugdir='' @@ -635,35 +631,6 @@ ]) -AC_MSG_CHECKING(whether to enable pkg-config support) -AC_ARG_WITH(pkgconfig-dir, - AC_HELP_STRING([--with-pkgconfig-dir=PATH], [where to install pkg-config *.pc files (/usr/...