Lines Matching refs:hostname
38 echo " %h ...... substituted by determined hostname (bar)"
58 hostname=''
85 # determine hostname and domainname
87 hostname="`(uname -n) 2>/dev/null |\
89 if [ "x$hostname" = "x" ]; then
90 hostname="`(hostname) 2>/dev/null |\
92 if [ "x$hostname" = "x" ]; then
93 hostname='unknown'
96 case $hostname in
98 domainname=".`echo $hostname | cut -d. -f2-`"
99 hostname="`echo $hostname | cut -d. -f1`"
154 -e "s;%h;$hostname;g" \
163 -e "s;%h;$hostname;g" \