Home | History | Annotate | Download | only in sysinst

Lines Matching defs:hosts

1090  * write the new contents of /etc/hosts to the specified file
1155 FILE *hosts;
1172 * Add IPaddr/hostname to /etc/hosts.
1174 * Relies on ordered search of /etc/hosts. XXX YP?
1176 hosts = target_fopen("/etc/hosts", "a");
1177 if (hosts != 0) {
1178 scripting_fprintf(NULL, "cat <<EOF >>%s/etc/hosts\n",
1180 write_etc_hosts(hosts);
1181 (void)fclose(hosts);