Commit b1e172ae authored by David Johnson's avatar David Johnson

Fix minor emulabish bug.

parent b13cfb15
......@@ -1362,7 +1362,7 @@ fi
# multi-cluster-compatible manner; the bossip could be different for
# phys node at different clusters.
#
if [ ! -f /etc/emulab/bossnode -a $OSVERSION -ge $OSNEWTON -a "${USE_DESIGNATE_AS_RESOLVER}" = "1"]; then
if [ ! -f /etc/emulab/bossnode -a $OSVERSION -ge $OSNEWTON -a "${USE_DESIGNATE_AS_RESOLVER}" = "1" ]; then
mydomain=`hostname | sed -n -e 's/[^\.]*\.\(.*\)$/\1/p'`
mynameserver=`sed -n -e 's/^nameserver \([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\).*$/\1/p' < /etc/resolv.conf | head -1`
if [ -z "$mynameserver" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment