Author: blogic
Date: 2016-01-01 22:19:55 +0100 (Fri, 01 Jan 2016)
New Revision: 48050

Modified:
   trunk/package/network/config/ltq-vdsl-app/files/dsl_control
Log:
ltq-vdsl-app: use the final xtse format

This way we can drop the call to sed.

Signed-off-by: Mathias Kresin <[email protected]>

Modified: trunk/package/network/config/ltq-vdsl-app/files/dsl_control
===================================================================
--- trunk/package/network/config/ltq-vdsl-app/files/dsl_control 2016-01-01 
21:19:50 UTC (rev 48049)
+++ trunk/package/network/config/ltq-vdsl-app/files/dsl_control 2016-01-01 
21:19:55 UTC (rev 48050)
@@ -14,13 +14,13 @@
 # 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 @@
 # 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 @@
 
        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}
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to