From: John Crispin Date: Fri, 1 Jan 2016 21:19:55 +0000 (+0000) Subject: ltq-vdsl-app: use the final xtse format X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2625c5621dc5d7bfdcf1628c1d231869171ec1fe;p=librecmc%2Flibrecmc.git ltq-vdsl-app: use the final xtse format This way we can drop the call to sed. Signed-off-by: Mathias Kresin SVN-Revision: 48050 --- diff --git a/package/network/config/ltq-vdsl-app/files/dsl_control b/package/network/config/ltq-vdsl-app/files/dsl_control index f875e3dc7c..cc65daad41 100644 --- a/package/network/config/ltq-vdsl-app/files/dsl_control +++ b/package/network/config/ltq-vdsl-app/files/dsl_control @@ -14,13 +14,13 @@ EXTRA_HELP=" status Get DSL status information # G.992.1 Annex A # G.992.3 Annex A / L-US1 / L_US-2 / M # G.992.5 Annex A / M -xtse_adsl_a="04 00 04 00 4C 01 04 00" +xtse_adsl_a="04_00_04_00_4C_01_04_00" # G.992.1 Annex B # G.992.3 Annex B # G.992.5 Annex B # G.993.2 Annex A/B/C -xtse_adsl_b="10 00 10 00 00 04 00 00" +xtse_adsl_b="10_00_10_00_00_04_00_00" # G.992.1 Annex B # G.992.3 Annex B @@ -28,9 +28,9 @@ xtse_adsl_b="10 00 10 00 00 04 00 00" # G.992.5 Annex B # G.992.5 Annex J # G.993.2 Annex A/B/C -xtse_adsl_j="10 00 10 40 00 04 01 00" +xtse_adsl_j="10_00_10_40_00_04_01_00" -xtse_vdsl="00 00 00 00 00 00 00 07" +xtse_vdsl="00_00_00_00_00_00_00_07" service_triggers() { procd_add_reload_trigger network @@ -78,7 +78,7 @@ start_service() { procd_open_instance procd_set_param command /sbin/vdsl_cpe_control_wrapper \ - -i`echo $xtse | sed "s/ /_/g"` \ + -i$xtse \ -n /sbin/dsl_notify.sh \ -f ${firmware} \ -M ${mode}