diff options
author | John Crispin <blogic@openwrt.org> | 2016-01-01 21:19:55 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2016-01-01 21:19:55 +0000 |
commit | 4f1ec56e004b213485ca94c7739608248c6a6da8 (patch) | |
tree | 759fcc58ccd9a5e28e3d959d4f96aaee0ed77801 /package/network | |
parent | 1b4e511aa502d02c43fcd73d913d4e119b613ba4 (diff) | |
download | master-187ad058-4f1ec56e004b213485ca94c7739608248c6a6da8.tar.gz master-187ad058-4f1ec56e004b213485ca94c7739608248c6a6da8.tar.bz2 master-187ad058-4f1ec56e004b213485ca94c7739608248c6a6da8.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48050 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network')
-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} |