summaryrefslogtreecommitdiffstats
path: root/discover/event.c
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2016-09-05 14:18:18 +1000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2016-09-08 13:43:24 +1000
commite2c92865481a5fb043c03c0cde625a96ca608699 (patch)
tree6ff1b4f3a2ca32ccfb7969fff77f252468220b0d /discover/event.c
parenta50d5fe279db71cf85fabeb675c99b167ec63dcb (diff)
downloadtalos-petitboot-e2c92865481a5fb043c03c0cde625a96ca608699.tar.gz
talos-petitboot-e2c92865481a5fb043c03c0cde625a96ca608699.zip
discover: Deprecate 'conf' user event
The 'conf' user event is functionally very similar to the 'url' event, in that both events result in downloading a specified configuration file and passing it to iterate_parsers(). The 'url' event additionally allows downloading files from a directory path and is also accessed by the UI via pb-protocol, so remove the 'conf' event and associated functions in favour of 'url' and device_handler_process_url(). Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'discover/event.c')
-rw-r--r--discover/event.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/discover/event.c b/discover/event.c
index 242ae81..1be19eb 100644
--- a/discover/event.c
+++ b/discover/event.c
@@ -49,8 +49,6 @@ static int event_parse_ad_header(char *buf, int len, enum event_action *action,
*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"))
*action = EVENT_ACTION_DHCP;
else if (streq(buf, "boot"))
OpenPOWER on IntegriCloud