From 3b212370cee58e43105b17d0770bd17c60fc688f Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 13 Jun 2024 15:09:44 +0200 Subject: [dhcpc-busybox] Wait much longer between retries --- core/modules/dhcpc-busybox/data/opt/openslx/scripts/systemd-udhcpc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/modules/dhcpc-busybox/data/opt/openslx/scripts/systemd-udhcpc b/core/modules/dhcpc-busybox/data/opt/openslx/scripts/systemd-udhcpc index a29756b7..7d8d9a2b 100755 --- a/core/modules/dhcpc-busybox/data/opt/openslx/scripts/systemd-udhcpc +++ b/core/modules/dhcpc-busybox/data/opt/openslx/scripts/systemd-udhcpc @@ -23,7 +23,8 @@ fi exec /opt/openslx/sbin/udhcpc "${udhcpc_opts[@]}" \ -O domain -O nissrv -O nisdomain -O wpad -O search -O wins \ -s /opt/openslx/scripts/udhcpc-openslx \ - -i "${net_if}" -f -t 8 + -i "${net_if}" -f -t 6 -T 5 -A 300 + # ^ try 6 times, 5 seconds timeout each, then wait 5 minutes and repeat slxlog "udhcpc" "Could not run 'udhcpc ${udhcpc_opts[*]}' on ${net_if}." exit 1 -- cgit v1.2.3-55-g7522