Commit Graph

5 Commits (f5d403488ed62bb7f0e0017b02890b4d72240a55)

Author SHA1 Message Date
Jo-Philipp Wich 1c09849f6c treewide: remove bad local shell variable declarations
Local variable declarations outside of functions are illegal since the Busybox
update to v1.25.0, therfore remove them from the appropriate places.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
John Crispin ebc71a4d16 lantiq: use dsl led defined in DTS
dsl_control (dsl_notify.sh) is the only process which is aware of the
state of the atm/ptm interface. Use the dsl led exclusive for the dsl
line state.

On boards which don't have a distinct internet and a dsl led, let the
netdev status of the atm interface trigger the shared led.

Triggering the shared led according to the status of the ppp interface
isn't suitable, since the led would be switched of if the ppp
connection goes down, but the line is still in sync.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 48040
9 years ago
John Crispin 36faa5b145 lantiq: led name has changed from adsl -> dsl
make the notify script aware of this.

https://dev.openwrt.org/ticket/18005

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42798
10 years ago
John Crispin f1963c02f4 lantiq: make dsl_notify.sh executable
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40436
10 years ago
John Crispin f464b7d176 lantiq: cleanup the dsl control scripts
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40381
10 years ago