-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fixes a race condition in the launcher scripts and enables MANU …
…if eth0 is up (closes #365)
- Loading branch information
1 parent
3ad4269
commit a78a4b0
Showing
1 changed file
with
2 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a78a4b0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This IF-statement is only tested on RPi3, needs to be tested on RPi0W too so that my bash syntax is correct (first statement should check command exitcode, second checks file output)
a78a4b0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The cat command on carrier will always return a value (0-4), so always true.. you may want to add " | grep 1" that will return true if an ethernet connection is up.