summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/sbin')
-rwxr-xr-xpackage/base-files/files/sbin/sysupgrade2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade
index 432539a2f..c64746234 100755
--- a/package/base-files/files/sbin/sysupgrade
+++ b/package/base-files/files/sbin/sysupgrade
@@ -16,6 +16,7 @@ while [ -n "$1" ]; do
-d) export DELAY="$2"; shift;;
-v) export VERBOSE="$(($VERBOSE + 1))";;
-q) export VERBOSE="$(($VERBOSE - 1))";;
+ -n) export SAVE_CONFIG=0
-*)
echo "Invalid option: $1"
exit 1
@@ -38,6 +39,7 @@ Usage: $0 [options] <image file or URL>
Options:
-d <delay> add a delay before rebooting
-i interactive mode
+ -n do not save configuration over reflash
-q less verbose
-v more verbose