From f886cea4c11b47d47480afbd446f5390f46e1cc1 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 4 Dec 2014 13:59:13 +0100 Subject: Use 3 seconds timeout for reverse lookups everywhere --- remote/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remote/modules') diff --git a/remote/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx b/remote/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx index 66ab2189..dd8cd8ba 100755 --- a/remote/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx +++ b/remote/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx @@ -78,7 +78,7 @@ case "$1" in fi # get domain, hostname and thus fqdn from DNS - dns_fqdn=$(rdns "$ip") + dns_fqdn=$(/opt/openslx/bin/busybox timeout -t 3 rdns "$ip") dns_short="${dns_fqdn%%.*}" # check if it is fqdn if [ "$dns_fqdn" == "$dns_short" ]; then -- cgit v1.2.3-55-g7522