Changeset 31066


Ignore:
Timestamp:
2012-03-25T10:50:45+02:00 (6 years ago)
Author:
blogic
Message:

[ltq-dsl] unbreak dsl firmware loading

Signed-off-by: Andrej Vlašić <andrej.vlasic0@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/ltq-dsl-app/files/dsl_control

    r30518 r31066  
    279279start() { 
    280280        local annex 
     281        local fwannex 
    281282        local xtu 
    282283        config_load network 
    283         config_get annex atm annex 
     284        config_get annex adsl annex 
     285        config_get fwannex adsl fwannex 
    284286 
    285287        # get xtu 
     
    290292                echo "unknown annex mode $annex" 
    291293 
     294        # check for invalid fw annex mode 
     295        [[ "$fwannex" != "a" && "$fwannex" != "b" ]] && 
     296                echo "invalid fwannex: $fwannex" 
     297 
    292298        # start CPE dsl daemon in the background 
    293299        service_start /sbin/dsl_cpe_control -i${xtu} \ 
    294300                        -n /sbin/dsl_notify.sh \ 
    295                         -f /lib/firmware/ModemHWE.bin 
     301                        -f /lib/firmware/dsl-fw-${fwannex}.bin 
    296302} 
    297303 
Note: See TracChangeset for help on using the changeset viewer.