summaryrefslogtreecommitdiffstats
path: root/_ont/luna-sdk-userful-commands.md
diff options
context:
space:
mode:
authorSimone Bortolin <simonebortolin@users.noreply.github.com>2023-01-19 01:06:34 +0100
committerSimone Bortolin <simonebortolin@users.noreply.github.com>2023-01-19 01:06:34 +0100
commit37ec8f55585e45145d5224a7c9b394b5179481fa (patch)
treef07830f7c845841377432ebc784eef101a7db184 /_ont/luna-sdk-userful-commands.md
parentmigrate some command to luna sdk and add new command to afm0003 (diff)
downloadhack-gpon.github.io-37ec8f55585e45145d5224a7c9b394b5179481fa.tar
hack-gpon.github.io-37ec8f55585e45145d5224a7c9b394b5179481fa.tar.gz
hack-gpon.github.io-37ec8f55585e45145d5224a7c9b394b5179481fa.tar.bz2
hack-gpon.github.io-37ec8f55585e45145d5224a7c9b394b5179481fa.tar.lz
hack-gpon.github.io-37ec8f55585e45145d5224a7c9b394b5179481fa.tar.xz
hack-gpon.github.io-37ec8f55585e45145d5224a7c9b394b5179481fa.tar.zst
hack-gpon.github.io-37ec8f55585e45145d5224a7c9b394b5179481fa.zip
Diffstat (limited to '_ont/luna-sdk-userful-commands.md')
-rw-r--r--_ont/luna-sdk-userful-commands.md7
1 files changed, 2 insertions, 5 deletions
diff --git a/_ont/luna-sdk-userful-commands.md b/_ont/luna-sdk-userful-commands.md
index a4ac5f3..0370750 100644
--- a/_ont/luna-sdk-userful-commands.md
+++ b/_ont/luna-sdk-userful-commands.md
@@ -71,11 +71,8 @@ PON_VENDOR_ID=ZTEG
```
## Getting/Settng the ONT Custom software version
-{% if include.customSwVersionAlert %}
- {% include alert.html content=include.customSwVersionAlert alert="Note" icon="svg-info" color="blue" %}
-{% else %}
- {% include alert.html content="This needs the OMCI_OLT_MODE value to be set to 3" alert="Note" icon="svg-info" color="blue" %}
-{% endif %}
+{% assign customSwVersionAlert = include.customSwVersionAlert | default: "This needs the OMCI_OLT_MODE value to be set to 3" %}
+{% include alert.html content=customSwVersionAlert alert="Note" icon="svg-info" color="blue" %}
```sh
# nv setenv sw_custom_version0 YOURFIRSTSWVER