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
9d7644cb
Commit
9d7644cb
authored
Jul 24, 2012
by
Federico Vaga
Committed by
Alessandro Rubini
Jul 26, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flash-wrs: restore --silent instead of --skip
Signed-off-by:
Federico Vaga
<
federico.vaga@gmail.com
>
parent
d9f08322
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
flash-wrs
build/flash-wrs
+3
-3
No files found.
build/flash-wrs
View file @
9d7644cb
...
...
@@ -27,7 +27,7 @@ showhelp()
printf
" -e
\t\t
Completely erase the memory (Can erase your configuration)
\n
"
printf
" -b|--build
\t
Use file that you have build in the WRS_OUTPUT_DIR
\n
"
printf
" --test
\t
Use file for testing the switch (not available)
\n
"
printf
" --s
kip
\t
Don't ask MAC or S/N and use default 02:0B:AD:C0:FF:EE
\n\n
"
printf
" --s
ilent
\t
Don't ask MAC or S/N and use default 02:0B:AD:C0:FF:EE
\n\n
"
exit
0
}
...
...
@@ -122,12 +122,12 @@ while [ $# -ge 1 ]; do
fi
memmode
=
"
$2
"
shift
;
shift
;;
--s
kip
)
--s
ilent
)
# set default the MAC address if user didn't set a MAC address
if
[
"x
$MAC
"
=
"x"
]
;
then
MAC
=
"02:0B:AD:C0:FF:EE"
fi
s
kip
=
1
;
s
ilent
=
1
;
shift
;;
/
*
)
DEV
=
"-s
$1
"
;
shift
;;
*
:
*
)
MAC
=
"
$1
"
;
shift
;;
...
...
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