3 [ "$DSL_NOTIFICATION_TYPE" = "DSL_INTERFACE_STATUS" ] ||
exit 0
6 .
/lib
/functions
/leds.sh
9 case "$(config_get led_dsl trigger)" in
11 led_set_attr
$1 "trigger" "netdev"
12 led_set_attr
$1 "device_name" "$(config_get led_dsl dev)"
13 led_set_attr
$1 "mode" "$(config_get led_dsl mode)"
22 config_get led led_dsl sysfs
23 if [ -n "$led" ]; then
24 case "$DSL_INTERFACE_STATUS" in
25 "HANDSHAKE") led_timer
$led 500 500;;
26 "TRAINING") led_timer
$led 200 200;;
27 "UP") led_dsl_up
$led;;