Lines Matching refs:domainname
39 echo " %d ...... substituted by determined domainname (.com)"
59 domainname=''
85 # determine hostname and domainname
98 domainname=".`echo $hostname | cut -d. -f2-`"
102 if [ "x$domainname" = "x" ]; then
104 domainname="`egrep '^[ ]*domain' /etc/resolv.conf | head -1 |\
109 if [ "x$domainname" = "x" ]; then
110 domainname="`egrep '^[ ]*search' /etc/resolv.conf | head -1 |\
155 -e "s;%d;$domainname;g" \
164 -e "s;%d;$domainname;g" \