mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 21:09:53 +02:00
add switch to not save configuration over the reflash in noninteractive mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12714 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
c0036b1ceb
commit
d8ef8d0af9
@ -16,6 +16,7 @@ while [ -n "$1" ]; do
|
|||||||
-d) export DELAY="$2"; shift;;
|
-d) export DELAY="$2"; shift;;
|
||||||
-v) export VERBOSE="$(($VERBOSE + 1))";;
|
-v) export VERBOSE="$(($VERBOSE + 1))";;
|
||||||
-q) export VERBOSE="$(($VERBOSE - 1))";;
|
-q) export VERBOSE="$(($VERBOSE - 1))";;
|
||||||
|
-n) export SAVE_CONFIG=0
|
||||||
-*)
|
-*)
|
||||||
echo "Invalid option: $1"
|
echo "Invalid option: $1"
|
||||||
exit 1
|
exit 1
|
||||||
@ -38,6 +39,7 @@ Usage: $0 [options] <image file or URL>
|
|||||||
Options:
|
Options:
|
||||||
-d <delay> add a delay before rebooting
|
-d <delay> add a delay before rebooting
|
||||||
-i interactive mode
|
-i interactive mode
|
||||||
|
-n do not save configuration over reflash
|
||||||
-q less verbose
|
-q less verbose
|
||||||
-v more verbose
|
-v more verbose
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user