[OpenWrt-Devel] [PATCH] lantiq: add dsl line_state mapping
ms at dev.tdt.de
Thu Jun 18 01:03:28 EDT 2020
On 2020-06-17 12:21, Florian Eckert wrote:
> Hi Adrian,
>>> The line_state of the DSL connection is described in the system via a
>>> hexadecimal variable. With this change the hexadecimal is mapped to a
>>> decimal value. With this change it is now possible to store this
>>> value in a
>>> database, so that it can be easily evaluated.
>> Interesting file this lantiq_dsl.sh ...
> That´s probably right!
>> I'm wondering whether all of this really need to be in this file, or
>> whether stuff can be moved to the package actually dealing with it?
>> This might also make it easier to change it when necessary.
> This file is sourced twice:
> - dsl_control of package ltq-adsl-app 
> - dsl_control of package ltq-vdsl-app 
> If we take this from the target folder then we have to make our own
> packet ltq-dsl-common for example.
> And the packages ltq-adsl-app and ltq-vdsl-app could depend on this.
> When we create a new package, we may also want to move other files
> from the target directory to the new package?
> - lantiq.sh  This is sourced in 02_network files on the lantiq
> - led_dsl.sh 
> - pppoa.sh 
> - uci-defaults 
> - dsl_notify.sh 
> These are candidates that could also moved to the new package
That's what I've already done in my working tree for VRX518 support on
FB7530, to get this scripts also available on other targets than lantiq:
> Best regards
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel