From 279ef318e1f5eb30154c8baec5d8fa083561a917 Mon Sep 17 00:00:00 2001 From: Michael Chus Date: Thu, 5 Mar 2026 16:17:52 +0300 Subject: [PATCH] fix: genapkovl copy to /var/tmp, udhcpc background mode --- .DS_Store | Bin 0 -> 6148 bytes iso/.DS_Store | Bin 0 -> 6148 bytes iso/builder/build-debug.sh | 2 ++ iso/builder/genapkovl-bee_debug.sh | 2 +- iso/overlay-debug/usr/local/bin/bee-network.sh | 11 ++++------- 5 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 .DS_Store create mode 100644 iso/.DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..114b1c909bb756ffbcf0798314b46163559a1b46 GIT binary patch literal 6148 zcmeHKPfNov6i?iA8AI4X(PO~t!2JU!UP_%`z=|GJW^0EQYctl)9>$Sp0pvJGItgMG!00`g zSl?dvKbxhlKfT7$g;H@)>V9w; zjq_1+=Ts$`A0^|dPKd%Wgxp+3NvLvH&5|(Hxt?)|x~Pwud-Hkks3ixzMN7^*-F~+v zj|ct5qAqq14o}WUPw{i2UJaWZ$kwuLv4l5J>}JCBJ`P}U7-~%~-ZY6-@&J}{f-;ei z7$63S0b*dC7_hg1XspwwX|KcpG4LY>@O+Ta5FLw!L49;Ur%M39Dwwr^j-};&kK@fsZi}Q9;Db!|bDN+7RDcRl0V+TRW~4wK z/dev/null || { log "WARN: could not bring up $iface"; continue; } - # DHCP: 3 retries, 5s timeout per try, exit without blocking if no offer - if udhcpc -i "$iface" -t 3 -T 5 -n -q 2>/dev/null; then - IP=$(ip -4 addr show "$iface" | awk '/inet /{print $2}' | head -1) - log "OK: $iface got $IP" - else - log "WARN: $iface — no DHCP offer" - fi + # DHCP: run in background (-b) so udhcpc persists and retries when cable is connected later. + # -t 0: unlimited retries, -T 3: 3s per attempt. + udhcpc -i "$iface" -b -t 0 -T 3 -q 2>/dev/null & + log "DHCP started for $iface (background, will retry until lease acquired)" done log "done"