luci-addons: Fixed keeping of configuration files in luci-flash

This commit is contained in:
Steven Barth 2008-08-03 09:52:12 +00:00
parent edc26dadc0
commit e3097c4df3

View file

@ -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'
run_ramfs '. /etc/functions.sh; include /lib/upgrade; do_upgrade'