From faafa2da4830d9cdba14670ffacc57d464c9af2f Mon Sep 17 00:00:00 2001 From: Ernesto Castellotti Date: Thu, 12 Jan 2023 00:55:49 +0100 Subject: Allow specify model name in root_lantiq include --- _includes/root_lantiq.html | 2 +- _ont/ont-huawei-ma5671a-root-web.md | 2 +- 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 } -{% include root_lantiq.html unlockHuaweiShell=true %} +{% include root_lantiq.html modelName="Huawei MA5671A" unlockHuaweiShell=true %}