X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Ffailsafe%2Fluasrc%2Fcontroller%2Ffailsafe%2Ffailsafe.lua;h=db4bda6605492381e85eb15d92d3d497fd843441;hp=1da3438f8fd93444afa47cf27fada4279a07edaa;hb=6f8daab6eb8eb2f1a8014afeee22793e39980db6;hpb=a31e805696fad7e801a398c3c0fa645a1f922dc3 diff --git a/modules/failsafe/luasrc/controller/failsafe/failsafe.lua b/modules/failsafe/luasrc/controller/failsafe/failsafe.lua index 1da3438f8..db4bda660 100644 --- a/modules/failsafe/luasrc/controller/failsafe/failsafe.lua +++ b/modules/failsafe/luasrc/controller/failsafe/failsafe.lua @@ -132,7 +132,7 @@ function action_flashops() local keep = (luci.http.formvalue("keep") == "1") and "" or "-n" luci.template.render("failsafe/applyreboot", { title = luci.i18n.translate("Flashing..."), - msg = luci.i18n.translate("The system is flashing now.
DO NOT POWER OFF THE DEVICE!
Wait a few minutes until you try to reconnect. It might be necessary to renew the address of your computer to reach the device again, depending on your settings."), + msg = luci.i18n.translate("The system is flashing now.
DO NOT POWER OFF THE DEVICE!
Wait a few minutes before you try to reconnect. It might be necessary to renew the address of your computer to reach the device again, depending on your settings."), addr = (#keep > 0) and "192.168.1.1" or nil }) fork_exec("killall dropbear uhttpd; sleep 1; /sbin/sysupgrade %s %q" %{ keep, image_tmp })