diff options
author | Simon Rettberg | 2024-06-13 15:09:44 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-06-13 15:09:44 +0200 |
commit | 3b212370cee58e43105b17d0770bd17c60fc688f (patch) | |
tree | 58dc52497ea6c3d8e54046032aa0542d343af1f2 | |
parent | [dhcpc-busybox] Fix calculating prefix size of secondary NICs (diff) | |
download | mltk-3b212370cee58e43105b17d0770bd17c60fc688f.tar.gz mltk-3b212370cee58e43105b17d0770bd17c60fc688f.tar.xz mltk-3b212370cee58e43105b17d0770bd17c60fc688f.zip |
[dhcpc-busybox] Wait much longer between retries
-rwxr-xr-x | core/modules/dhcpc-busybox/data/opt/openslx/scripts/systemd-udhcpc | 3 |
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 |