Hi Alexey,
...
> +static void setup(void)
> +{
> + unsigned int i;
> + int fd;
...
> + SAFE_CP(host_file, "hosts");
One more thing, could we check for /etc/hosts before?
Because we want to TCONF on systems without it not TBROK.
And I guess there are embedded systems without it out there.
Kind regards,
Petr