summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErnesto Castellotti <mail@ernestocastellotti.it>2023-01-12 00:55:49 +0100
committerSimone <26844016+simonebortolin@users.noreply.github.com>2023-01-12 01:03:22 +0100
commitfaafa2da4830d9cdba14670ffacc57d464c9af2f (patch)
treefe436905ea9100ce002c72cfec18bdb7102614d7
parentMoved root procedure to root_lantiq.html to be able to use in other pages (diff)
downloadhack-gpon.github.io-faafa2da4830d9cdba14670ffacc57d464c9af2f.tar
hack-gpon.github.io-faafa2da4830d9cdba14670ffacc57d464c9af2f.tar.gz
hack-gpon.github.io-faafa2da4830d9cdba14670ffacc57d464c9af2f.tar.bz2
hack-gpon.github.io-faafa2da4830d9cdba14670ffacc57d464c9af2f.tar.lz
hack-gpon.github.io-faafa2da4830d9cdba14670ffacc57d464c9af2f.tar.xz
hack-gpon.github.io-faafa2da4830d9cdba14670ffacc57d464c9af2f.tar.zst
hack-gpon.github.io-faafa2da4830d9cdba14670ffacc57d464c9af2f.zip
-rw-r--r--_includes/root_lantiq.html2
-rw-r--r--_ont/ont-huawei-ma5671a-root-web.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/_includes/root_lantiq.html b/_includes/root_lantiq.html
index 5230a78..798b266 100644
--- a/_includes/root_lantiq.html
+++ b/_includes/root_lantiq.html
@@ -123,7 +123,7 @@
return;
}
- let result = await lantiqRootUboot(port, "Huawei MA5671A",
+ let result = await lantiqRootUboot(port, "{{include.modelName}}",
(msg) => {
loading(msg, 0);
},
diff --git a/_ont/ont-huawei-ma5671a-root-web.md b/_ont/ont-huawei-ma5671a-root-web.md
index a6110fa..22ac1ed 100644
--- a/_ont/ont-huawei-ma5671a-root-web.md
+++ b/_ont/ont-huawei-ma5671a-root-web.md
@@ -28,7 +28,7 @@ Connect the TTL adapter to the computer, once done press the following button. A
{: .text-center .fs-6 }
<button id="start-button" class="btn btn-blue" data-jtd-toogle="modal" data-jtd-target="#root-modal" disabled>Start root!</button>
-{% include root_lantiq.html unlockHuaweiShell=true %}
+{% include root_lantiq.html modelName="Huawei MA5671A" unlockHuaweiShell=true %}
<div id="browser-error" style="display:none">{% include alert.html content="This browser is not compatible with the web-root procedure. See the <a href='https://developer.mozilla.org/en-US/docs/Web/API/Web_Serial_API#browser_compatibility'>Browser compatibility</a>" alert="Note" icon="svg-warning" color="red" %}</div>
<noscript>