From e3097c4df37e0c12246b15c44cb3fc076bc256fe Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sun, 3 Aug 2008 09:52:12 +0000 Subject: luci-addons: Fixed keeping of configuration files in luci-flash --- contrib/package/luci-addons/dist/sbin/luci-flash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/package/luci-addons/dist/sbin/luci-flash b/contrib/package/luci-addons/dist/sbin/luci-flash index 3ff478f0f..d58561e6f 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' -- cgit v1.2.3