X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=discover%2Fpb-discover.c;h=8ab284974d3863bf101d9e90b5ba1e03c79cc64d;hb=37d865eb008f746a0b013557312c6b44c7236eb7;hp=007e66f2dcd671ae83058b257d9b4a72a43e785a;hpb=e5f5a2e91e89af08925b6dae3680fc9ef62190ff;p=petitboot diff --git a/discover/pb-discover.c b/discover/pb-discover.c index 007e66f..8ab2849 100644 --- a/discover/pb-discover.c +++ b/discover/pb-discover.c @@ -157,6 +157,9 @@ int main(int argc, char *argv[]) config_init(NULL); + if (opts.no_autoboot == opt_yes) + config_set_autoboot(false); + waitset = waitset_create(NULL); server = discover_server_init(waitset);