Searched refs:hostsfile (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/contrib/unbound/contrib/
H A Dbuild-unbound-localzone-from-hosts.pl6 my $hostsfile = '/etc/hosts';
11 open( HOSTS,"<${hostsfile}" ) or die( "Could not open ${hostsfile}: $!" );
/freebsd-11-stable/contrib/ntp/scripts/ntpsweep/
H A Dntpsweep.in45 my $hostsfile = shift;
55 @hosts = read_hosts($hostsfile) if $hostsfile;
82 my ($hostsfile) = @_;
85 open my $hosts, $hostsfile
86 or die "$program: FATAL: unable to read $hostsfile: $!\n";
/freebsd-11-stable/libexec/mknetid/
H A Dmknetid.c69 char *hostsfile = _PATH_HOSTS; variable
124 hostsfile = optarg;
155 if ((hfp = fopen(hostsfile, "r")) == NULL) {
156 err(1, "%s", hostsfile);

Completed in 224 milliseconds