Searched refs:hostname (Results 1 - 25 of 472) sorted by relevance

1234567891011>>

/freebsd-11-stable/release/picobsd/floppy.tree/etc/
H A Drc.conf6 case ${hostname} in
8 echo "processing rc.conf for ${hostname}"
H A Drc.conf.defaults11 hostname="" # Should not need to set it
67 echo "Please enter a hostname and IP address for your system $main_ether"
68 read hostname the_ip
69 if [ "${hostname}" != "" ] ; then
70 echo "# $main_ether $hostname" >> /etc/hosts
71 echo "$the_ip $hostname" >> /etc/hosts
73 hostname=default
109 # set ${hostname} using $1 (MAC address) as search key in /etc/hosts
113 hostname=""
119 while [ "$b" != "" -a "${hostname}"
[all...]
/freebsd-11-stable/tools/tools/nanobsd/pcengines/Files/etc/
H A Drc.conf5 hostname="alix"
/freebsd-11-stable/contrib/amd/scripts/
H A Dwait4amd.in3 # usage: wait4amd <hostname> [<command> [args ...]]
4 # If only hostname is supplied, command defaults to rsh $hostname
12 echo "Usage: wait4amd <hostname> [<command> [args ...]]"
15 hostname=$1
27 amq -h $hostname > /dev/null 2>&1
34 echo "Amd is active on host $hostname!"
38 cmd="rlogin $hostname"
/freebsd-11-stable/contrib/ntp/sntp/
H A Dkod_management.h7 char hostname[255]; member in struct:kod_entry
12 int search_entry(const char *hostname, struct kod_entry **dst);
13 void add_entry(const char *hostname, const char *type);
14 void delete_entry(const char *hostname, const char *type);
/freebsd-11-stable/bin/hostname/
H A DMakefile5 PROG= hostname
H A Dhostname.c38 static char sccsid[] = "@(#)hostname.c 8.1 (Berkeley) 5/31/93";
42 __FBSDID("$FreeBSD: stable/11/bin/hostname/hostname.c 309130 2016-11-25 05:54:17Z araujo $");
58 char *p, hostname[MAXHOSTNAMELEN]; local
66 * On Linux, "hostname -f" prints FQDN.
67 * BSD "hostname" always prints FQDN by
91 if (gethostname(hostname, (int)sizeof(hostname)))
94 p = strchr(hostname, '.');
98 p = strchr(hostname, '
[all...]
/freebsd-11-stable/libexec/bootpd/
H A Dlookup.h6 extern u_char *lookup_hwa(char *hostname, int htype);
7 extern int lookup_ipa(char *hostname, u_int32 *addr);
H A Dlookup.c37 lookup_hwa(hostname, htype)
38 char *hostname;
50 if (ether_hostton(hostname, &ea)) {
52 hostname);
73 lookup_ipa(hostname, result)
74 char *hostname;
78 hp = gethostbyname(hostname);
/freebsd-11-stable/usr.sbin/bhyve/
H A Drfb.h36 int rfb_init(char *hostname, int port, int wait, char *password);
/freebsd-11-stable/etc/rc.d/
H A Dhostname29 # PROVIDE: hostname
36 name="hostname"
37 desc="Set the system\'s hostname"
52 # hostname, see if we can get one from kenv.
54 if [ -z "${hostname}" -a \
56 hostname=`/bin/kenv dhcp.host-name`
60 # Have we got a hostname yet?
62 if [ -z "${hostname}" ]; then
63 # Null hostname is probably OK if DHCP is in use.
66 warn "\$hostname i
[all...]
/freebsd-11-stable/usr.sbin/bsdinstall/scripts/
H A Dhostname39 'Please choose a hostname for this machine.
42 0 0 $(hostname) 2>&1 1>&3`
46 echo "hostname=\"$HOSTNAME\"" > $BSDINSTALL_TMPETC/rc.conf.hostname
49 hostname -s "$HOSTNAME"
/freebsd-11-stable/crypto/heimdal/appl/login/
H A Dutmp_login.c38 /* try to put something useful from hostname into dst, dst_sz:
42 shrink_hostname (const char *hostname, argument
50 if (strlen(hostname) < dst_sz) {
51 strlcpy (dst, hostname, dst_sz);
55 hd = strchr (hostname, '.');
58 && hd - hostname < dst_sz) {
59 strlcpy (dst, hostname, dst_sz);
60 dst[hd - hostname] = '\0';
64 ret = getaddrinfo (hostname, NULL, NULL, &ai);
66 strncpy (dst, hostname, dst_s
85 prepare_utmp(struct utmp *utmp, char *tty, const char *username, const char *hostname) argument
127 utmp_login(char *tty, const char *username, const char *hostname) argument
133 utmp_login(char *tty, const char *username, const char *hostname) argument
[all...]
/freebsd-11-stable/contrib/subversion/subversion/include/private/
H A Dsvn_cert.h40 /* Return TRUE iff @a pattern matches @a hostname as defined
45 * the hostname is the source domain (i.e. the host portion
61 svn_cert__match_dns_identity(svn_string_t *pattern, svn_string_t *hostname);
/freebsd-11-stable/tools/build/cross-build/
H A DMakefile4 SCRIPTS= date.sh hostname.sh
/freebsd-11-stable/tools/tools/nanobsd/gateworks/cfg/
H A Drc.conf3 hostname="avila"
/freebsd-11-stable/tools/tools/tinybsd/conf/bridge/etc/
H A Drc.conf2 hostname="tinybsd.freebsd.org"
/freebsd-11-stable/tools/tools/tinybsd/conf/default/etc/
H A Drc.conf2 hostname="tinybsd.freebsd.org"
/freebsd-11-stable/tools/tools/tinybsd/conf/minimal/etc/
H A Drc.conf2 hostname="tinybsd.freebsd.org"
/freebsd-11-stable/tools/tools/tinybsd/conf/wrap/etc/
H A Drc.conf2 hostname="tinybsd.freebsd.org"
/freebsd-11-stable/share/examples/jails/
H A Djail.xxx.conf4 host.hostname = "xxx.yyy"; # hostname
33 #allow.set_hostname = 1; # Allow hostname to change
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dsock_principal.c47 char hostname[NI_MAXHOST]; local
54 ret = getnameinfo (sa, salen, hostname, sizeof(hostname), NULL, 0, 0);
63 hostname,
/freebsd-11-stable/usr.sbin/clear_locks/
H A Dclear_locks.c44 char *hostname; local
48 fprintf(stderr, "Usage: clear_locks <hostname>\n");
51 hostname = argv[1];
58 notify.name = hostname;
68 fprintf(stderr, "clear_locks: cleared locks for hostname %s\n",
69 hostname);
/freebsd-11-stable/tools/tools/tinybsd/conf/vpn/etc/
H A Drc.conf2 hostname="tinybsd.freebsd.org"
/freebsd-11-stable/contrib/openpam/lib/libpam/
H A Dpam_start.c70 char hostname[HOST_NAME_MAX + 1]; local
79 if (gethostname(hostname, sizeof hostname) != 0)
80 strlcpy(hostname, "localhost", sizeof hostname);
81 if ((r = pam_set_item(ph, PAM_HOST, hostname)) != PAM_SUCCESS)

Completed in 146 milliseconds

1234567891011>>