summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rwxr-xr-xcore/modules/dhcpc-busybox/data/opt/openslx/scripts/systemd-udhcpc3
1 files changed, 2 insertions, 1 deletions
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