diff options
author | Steven Barth <steven@midlink.org> | 2008-08-03 09:52:12 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-03 09:52:12 +0000 |
commit | e3097c4df37e0c12246b15c44cb3fc076bc256fe (patch) | |
tree | dd969c89aa45cec5616ac69406d0ad83b5bba31e /contrib/package/luci-addons/dist/sbin | |
parent | edc26dadc072370c81f74398e8e0b2102ba53208 (diff) |
luci-addons: Fixed keeping of configuration files in luci-flash
Diffstat (limited to 'contrib/package/luci-addons/dist/sbin')
-rwxr-xr-x | contrib/package/luci-addons/dist/sbin/luci-flash | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/package/luci-addons/dist/sbin/luci-flash b/contrib/package/luci-addons/dist/sbin/luci-flash index 3ff478f0f5..d58561e6f1 100755 --- a/contrib/package/luci-addons/dist/sbin/luci-flash +++ b/contrib/package/luci-addons/dist/sbin/luci-flash @@ -12,6 +12,7 @@ while [ -n "$1" ]; do case "$1" in -k) shift + export SAVE_CONFIG=1 export KEEP_PATTERN="$1" ;; -*) @@ -85,4 +86,4 @@ done run_hooks "" $sysupgrade_pre_upgrade v "Switching to ramdisk..." -run_ramfs '. /etc/functions.sh; include /lib/upgrade; do_upgrade'
\ No newline at end of file +run_ramfs '. /etc/functions.sh; include /lib/upgrade; do_upgrade' |