summaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-06 18:55:26 +0000
committerSteven Barth <steven@midlink.org>2008-09-06 18:55:26 +0000
commit087bd8afc7e29fa0b3f3e0b53c9a281bb53ca30f (patch)
tree3d1a976bbfee6fc4c46ee412c273cfbc4ee831cb /contrib
parentc80d0a350e8a09ed798e5b74e2e8e0c74db3ea72 (diff)
Trigger post-flash reboot manually
Diffstat (limited to 'contrib')
-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'