summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/luci-addons/dist/sbin/luci-flash
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/package/luci-addons/dist/sbin/luci-flash')
-rwxr-xr-xcontrib/package/luci-addons/dist/sbin/luci-flash4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/package/luci-addons/dist/sbin/luci-flash b/contrib/package/luci-addons/dist/sbin/luci-flash
index 07434b507..79bc834b4 100755
--- a/contrib/package/luci-addons/dist/sbin/luci-flash
+++ b/contrib/package/luci-addons/dist/sbin/luci-flash
@@ -85,5 +85,9 @@ done
[ -n "$sysupgrade_init_conffiles" ] && do_save_conffiles
run_hooks "" $sysupgrade_pre_upgrade
+ask_bool() {
+ false
+}
+
v "Switching to ramdisk..."
run_ramfs '. /etc/functions.sh; include /lib/upgrade; do_upgrade'