#include "config.h"
#endif
-#define _GNU_SOURCE
#include <string.h>
#include <log/log.h>
*action = EVENT_ACTION_ADD;
else if (streq(buf, "remove"))
*action = EVENT_ACTION_REMOVE;
- else if (streq(buf, "conf"))
- *action = EVENT_ACTION_CONF;
+ else if (streq(buf, "url"))
+ *action = EVENT_ACTION_URL;
+ else if (streq(buf, "dhcp"))
+ *action = EVENT_ACTION_DHCP;
+ else if (streq(buf, "boot"))
+ *action = EVENT_ACTION_BOOT;
+ else if (streq(buf, "sync"))
+ *action = EVENT_ACTION_SYNC;
else {
pb_log("%s: unknown action: %s\n", __func__, buf);
return -1;