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 Oct 31, 2024
1 parent 84872cc commit 177cc8c
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 177cc8c

Please sign in to comment.