diff options
| author | Simon Rettberg | 2014-12-04 13:59:13 +0100 |
|---|---|---|
| committer | Simon Rettberg | 2014-12-04 13:59:13 +0100 |
| commit | f886cea4c11b47d47480afbd446f5390f46e1cc1 (patch) | |
| tree | f16746f4bb13a6b573e025d3482d5242ece50ff9 /remote/modules | |
| parent | [cups] Fix Dell PPD (diff) | |
| download | tm-scripts-f886cea4c11b47d47480afbd446f5390f46e1cc1.tar.gz tm-scripts-f886cea4c11b47d47480afbd446f5390f46e1cc1.tar.xz tm-scripts-f886cea4c11b47d47480afbd446f5390f46e1cc1.zip | |
Use 3 seconds timeout for reverse lookups everywhere
Diffstat (limited to 'remote/modules')
| -rwxr-xr-x | remote/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
