diff options
author | John Crispin <john@openwrt.org> | 2016-01-01 21:19:55 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2016-01-01 21:19:55 +0000 |
commit | 2625c5621dc5d7bfdcf1628c1d231869171ec1fe (patch) | |
tree | 4231ada175bfbb492c84f83305d91c90b1f0ba7a /package | |
parent | de7dce21a331dfe0fc63efd16f0d00e0a226de9b (diff) | |
download | upstream-2625c5621dc5d7bfdcf1628c1d231869171ec1fe.tar.gz upstream-2625c5621dc5d7bfdcf1628c1d231869171ec1fe.tar.bz2 upstream-2625c5621dc5d7bfdcf1628c1d231869171ec1fe.zip |
ltq-vdsl-app: use the final xtse format
This way we can drop the call to sed.
Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 48050
Diffstat (limited to 'package')
-rw-r--r-- | package/network/config/ltq-vdsl-app/files/dsl_control | 10 |
1 files changed, 5 insertions, 5 deletions
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} |