View | Details | Raw Unified | Return to bug 208529
Collapse All | Expand All

(-)etc/rc.d/local_unbound.NEW (-9 / +1 lines)
Lines 100-114 Link Here
100
	local retry=5
100
	local retry=5
101
101
102
	echo -n "Waiting for nameserver to start..."
102
	echo -n "Waiting for nameserver to start..."
103
	until "${command}-control" status | grep -q "is running" ; do
103
	host -W 1 -R ${retry} -t NS com 127.0.0.1 > /dev/null && echo " good" || echo " giving up"
104
		if [ $((retry -= 1)) -eq 0 ] ; then
105
			echo " giving up"
106
			return 1
107
		fi
108
		echo -n "."
109
		sleep 1
110
	done
111
	echo " good"
112
}
104
}
113
105
114
load_rc_config $name
106
load_rc_config $name

Return to bug 208529