|
@@ -305,7 +305,7 @@ updateFw() {
|
|
_ERR=$?
|
|
_ERR=$?
|
|
[[ $_ERR -gt 0 ]] && showMesg "mtd failed, $_OUT"
|
|
[[ $_ERR -gt 0 ]] && showMesg "mtd failed, $_OUT"
|
|
runSuid reboot
|
|
runSuid reboot
|
|
- showMesg 'Firmware update is completed, rebooting..' '60'
|
|
|
|
|
|
+ showMesg 'Firmware update is completing..' '90' 'Device will be rebooted'
|
|
}
|
|
}
|
|
|
|
|
|
usbInit() {
|
|
usbInit() {
|
|
@@ -656,7 +656,7 @@ wankey=$(doUci get wankey)
|
|
<input id='uploadfile' placeholder='Choose file' disabled='disabled'>
|
|
<input id='uploadfile' placeholder='Choose file' disabled='disabled'>
|
|
<input id='uploadbtn' name='fwupload' type='file'>
|
|
<input id='uploadbtn' name='fwupload' type='file'>
|
|
</div>
|
|
</div>
|
|
- <input type='submit' value='Upload'>
|
|
|
|
|
|
+ <input type='submit' value='Upload' data-wait='Uploading, do NOT interrupt!'>
|
|
</form>
|
|
</form>
|
|
<span class='help'>help</span>
|
|
<span class='help'>help</span>
|
|
</section>
|
|
</section>
|