Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
1834b2ac
Commit
1834b2ac
authored
Jun 28, 2013
by
Cesar Prados
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
barebox: add to init the option to update automatically (if the wr switch was
configured) the firmware
parent
25bd1e34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
init
patches/barebox/env/bin/init
+6
-0
No files found.
patches/barebox/env/bin/init
View file @
1834b2ac
...
...
@@ -50,12 +50,18 @@ else
nand
-a
/dev/nand0.
*
fi
# auto-update of the firmware
if
[
"
$auto_update
"
=
"y"
]
;
then
update-firmware
fi
# Create the menu
#menu -r -m boot
menu
-a
-m
boot
-d
"Welcome on WRSv3 Boot Sequence"
menu
-e
-a
-m
boot
-c
'boot-nand'
-d
"boot from nand (default)"
menu
-e
-a
-m
boot
-c
'boot-script'
-d
"boot from TFTP script"
menu
-e
-a
-m
boot
-c
'edit-config'
-d
"edit config"
menu
-e
-a
-m
boot
-c
'update-firmware'
-d
"update firmware"
menu
-e
-a
-m
boot
-c
'exit 0'
-d
"exit to shell"
menu
-e
-a
-m
boot
-c
reset
-d
"reboot"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment