static int sock = -1;
#ifdef LOG
-unsigned char logname[LOGNAME_SIZE];
void log_message (int level, const char *format, ...)
{
va_list args;
}
/* prevent loops in the scripts we execute */
- if (strncmp(key, "MANAGED_EVENT=", 14) == 0) {
+ if (strncmp(key, "UDEVD_EVENT=", 12) == 0) {
dbg("seems that the event source is not the kernel, just exit");
goto exit;
}