#include "discover-server.h"
#include "device-handler.h"
#include "network.h"
+#include "sysinfo.h"
static void print_version(void)
{
signal(SIGINT, sigint_handler);
- if (opts.no_autoboot == opt_yes)
- config_set_autoboot(false);
-
waitset = waitset_create(NULL);
server = discover_server_init(waitset);
return EXIT_FAILURE;
config_init(NULL);
+ if (opts.no_autoboot == opt_yes)
+ config_set_autoboot(false);
+
+ system_info_init(server);
handler = device_handler_init(server, waitset, opts.dry_run == opt_yes);
if (!handler)