1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2012 OpenWrt.org
6 EXTRA_COMMANDS
="status lucistat"
7 EXTRA_HELP
=" status Get DSL status information
8 lucistat Get status information if lua friendly format"
13 .
/lib
/functions
/lantiq_dsl.sh
14 XDSL_CTRL
=vdsl_cpe_control
21 config_get firmware wan firmware
22 [ -z "${firmware}" ] &&
25 config_get xtu wan xtu
27 xtu
=10_00_10_00_00_04_01_07
29 service_start
/sbin
/vdsl_cpe_control \
32 -n /sbin
/dsl_notify.sh \
33 -f /lib
/firmware
/${firmware}
37 DSL_NOTIFICATION_TYPE
="DSL_INTERFACE_STATUS" \
38 DSL_INTERFACE_STATUS
="DOWN" \
41 service_stop
/sbin
/vdsl_cpe_control