[OpenWrt-Devel] [PATCH] lantiq: add dsl line_state mapping
fe at dev.tdt.de
Wed Jun 17 06:21:51 EDT 2020
>> 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
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel