diff options
Diffstat (limited to '_ont/luna-sdk-userful-commands.md')
-rw-r--r-- | _ont/luna-sdk-userful-commands.md | 7 |
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 |