>> option to tgtd (better). There is no other way, I guess (other than >> making it compile-time option, which is really bad). > > There is another option. If tgtd has no targets, then tgtd closes a > connection instead of sending a response. So you can change the state > to offline, configure targets and then change the state to running. > > Try this patch (against the current git head). I tried the patch, and it works ok for me. Niels de Carpentier |