summaryrefslogtreecommitdiffstats
path: root/modules.d/slx-network/scripts/udhcpc-trigger.stage4
diff options
context:
space:
mode:
authorJonathan Bauer2020-08-07 14:33:25 +0200
committerJonathan Bauer2020-08-07 14:33:25 +0200
commit136de76d7ffcb02a0edc189b7f2f9ec320e64cf0 (patch)
tree58f9f2ea1a5897cccc7632a507c7bdd41d7d5721 /modules.d/slx-network/scripts/udhcpc-trigger.stage4
parent[busybox/slx-splash] update busybox/splash (diff)
downloadsystemd-init-136de76d7ffcb02a0edc189b7f2f9ec320e64cf0.tar.gz
systemd-init-136de76d7ffcb02a0edc189b7f2f9ec320e64cf0.tar.xz
systemd-init-136de76d7ffcb02a0edc189b7f2f9ec320e64cf0.zip
[slx-network] fix -t with busybox's timeout
Diffstat (limited to 'modules.d/slx-network/scripts/udhcpc-trigger.stage4')
-rwxr-xr-xmodules.d/slx-network/scripts/udhcpc-trigger.stage42
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/slx-network/scripts/udhcpc-trigger.stage4 b/modules.d/slx-network/scripts/udhcpc-trigger.stage4
index d7009dc6..c2ea566a 100755
--- a/modules.d/slx-network/scripts/udhcpc-trigger.stage4
+++ b/modules.d/slx-network/scripts/udhcpc-trigger.stage4
@@ -74,7 +74,7 @@ case "$1" in
fi
# get domain, hostname and thus fqdn from DNS
- dns_fqdn=$(busybox timeout -t 3 rdns "$ip")
+ dns_fqdn=$(busybox timeout 3 rdns "$ip")
dns_short="${dns_fqdn%%.*}"
# check if it is fqdn
if [ "$dns_fqdn" == "$dns_short" ]; then