]> git.ozlabs.org Git - petitboot/blobdiff - discover/event.c
discover: Enable 'url' pb-events
[petitboot] / discover / event.c
index 6434b40d39cd944c90cd93ab8681617b3b721ba6..79323788368d8c20b5f4f67702bd68337a9fe371 100644 (file)
@@ -47,6 +47,8 @@ static int event_parse_ad_header(char *buf, int len, enum event_action *action,
                *action = EVENT_ACTION_ADD;
        else if (streq(buf, "remove"))
                *action = EVENT_ACTION_REMOVE;
+       else if (streq(buf, "url"))
+               *action = EVENT_ACTION_URL;
        else if (streq(buf, "conf"))
                *action = EVENT_ACTION_CONF;
        else if (streq(buf, "dhcp"))