Lines Matching refs:hostname
39 # If DHCP was used on a primary interface then set the hostname
40 # that was returned. If no hostname was returned, set the name
41 # to be "unknown". The hostname must be set to something, because
57 "dhcp") hostname=`/sbin/dhcpinfo Hostname` ;;
58 "rarp") hostname=`/sbin/hostconfig -h -p bootparams`
60 while [ -z "$hostname" -a ! -f /etc/.UNCONFIGURED -a \
65 hostname=`/sbin/hostconfig -h -p bootparams`
68 "none") hostname="`shcat /etc/nodename 2>/dev/null`"
69 if [ -z "$hostname" ]; then
71 hostname=`/sbin/hostconfig -h -p bootparams`
73 hostname=`/sbin/uname -n`
82 if [ -z "$hostname" ]; then
83 hostname="`shcat /etc/nodename 2>/dev/null`"
84 if [ -z "$hostname" ]; then
85 hostname="unknown"
89 /sbin/uname -S $hostname