Changeset 48700


Ignore:
Timestamp:
2016-02-12T09:29:44+01:00 (2 years ago)
Author:
blogic
Message:

use "-gt" instead of ">" with [ in /lib/functions/lantiq_dsl.sh

Avoids inadvertent file creation when executing
/etc/init.d/dsl_control status.

Signed-off-by: Jonathan A. Kollasch <jakllsch@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh

    r48046 r48700  
    415415        [ -z "$idu" ] && idu=0 
    416416 
    417         if [ "$idd" > 100 ]; then 
     417        if [ "$idd" -gt 100 ]; then 
    418418                idd_s="Interleave" 
    419419        else 
     
    421421        fi 
    422422 
    423         if [ "$idu" > 100 ]; then 
     423        if [ "$idu" -gt 100 ]; then 
    424424                idu_s="Interleave" 
    425425        else 
Note: See TracChangeset for help on using the changeset viewer.