Skip to content

Commit

Permalink
resin-init-flasher: Increase interval in which eth0 is down
Browse files Browse the repository at this point in the history
To give leviathan a bigger time window for checking the carrier is down

Signed-off-by: Florin Sarbu <[email protected]>
  • Loading branch information
floion committed Nov 3, 2024
1 parent a720fc2 commit 3b46394
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ Index: 1.0-r2/resin-init-flasher
===================================================================
--- 1.0-r2.orig/resin-init-flasher
+++ 1.0-r2/resin-init-flasher
@@ -492,6 +492,8 @@ fi
@@ -492,6 +492,9 @@ fi

report_progress 100 "Post-Provisioning"

+ifconfig eth0 down && sleep 30
+ifconfig eth0 down
+sleep 120
+
_a='o'
if [ "${POSTINSTALL_REBOOT}" = "1" ]; then
Expand Down

0 comments on commit 3b46394

Please sign in to comment.