Searched refs:hostspath (Results 1 – 1 of 1) sorted by relevance
1287 char *hostspath = NULL; in wanbootfs_payload() local1415 if ((hostspath = make_path(bootfs_etc_inet_dir, "hosts")) == NULL || in wanbootfs_payload()1416 !create_hostsfile(hostspath, net, cid)) { in wanbootfs_payload()1426 !copy_file(hostspath, etc_hostspath)) { in wanbootfs_payload()1479 if (hostspath != NULL && in wanbootfs_payload()1480 WBCGI_FILE_EXISTS(hostspath, sbuf)) { in wanbootfs_payload()1481 (void) unlink(hostspath); in wanbootfs_payload()1525 free_path(&hostspath); in wanbootfs_payload()