-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIFI-14404: Enable dual boot support on EAP105 and certificate loadin…
…g on dual boot for EAP104 and OAP101 series Signed-off-by: Tanya Singh <[email protected]>
- Loading branch information
1 parent
8b5a449
commit 66e28d9
Showing
3 changed files
with
31 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh /etc/rc.common | ||
|
||
START=99 | ||
|
||
boot() { | ||
case "$(board_name)" in | ||
edgecore,eap105) | ||
avail=$(fw_printenv -n upgrade_available) | ||
[ ${avail} -eq 0 ] && fw_setenv upgrade_available 1 | ||
fw_setenv bootcount 0 | ||
;; | ||
esac | ||
} |
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
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