summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/luci-addons/dist/sbin
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-03 09:52:12 +0000
committerSteven Barth <steven@midlink.org>2008-08-03 09:52:12 +0000
commite3097c4df37e0c12246b15c44cb3fc076bc256fe (patch)
treedd969c89aa45cec5616ac69406d0ad83b5bba31e /contrib/package/luci-addons/dist/sbin
parentedc26dadc072370c81f74398e8e0b2102ba53208 (diff)
luci-addons: Fixed keeping of configuration files in luci-flash
Diffstat (limited to 'contrib/package/luci-addons/dist/sbin')
-rwxr-xr-xcontrib/package/luci-addons/dist/sbin/luci-flash3
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'