X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/4e9554bdfe13fa5ce42098c4b04531d501654e5c..8f1f5d8522a026b171f60933308eac05cb0997f8:/package/base-files/files/sbin/sysupgrade diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index 432539a2f..2230e5b0c 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] Options: -d add a delay before rebooting -i interactive mode + -n do not save configuration over reflash -q less verbose -v more verbose