mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
Some customer has their own requirments for the ONU version string. The following commit adds support for configuring this value via UCI. For Broadcom we will need to add additional support in the SDK.
20 lines
423 B
Bash
20 lines
423 B
Bash
#!/bin/sh
|
|
|
|
configure_equipment_id() {
|
|
local eqid="$(uci -q get xpon.ani.equipment_id)"
|
|
|
|
set_equipment_id "${eqid}"
|
|
}
|
|
|
|
configure_loid_authentication() {
|
|
local loid="$(uci -q get xpon.ani.loid)"
|
|
local loid_pwd="$(uci -q get xpon.ani.loid_password)"
|
|
|
|
set_loid_authentication "${loid}" "${loid_pwd}"
|
|
}
|
|
|
|
configure_onu_version() {
|
|
local onu_version="$(uci -q get xpon.ani.onu_version)"
|
|
|
|
set_onu_version "${onu_version}"
|
|
}
|