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@kollasch.net> SVN-Revision: 48700
This commit is contained in:
parent
79deb0290a
commit
48f82b53d0
1 changed files with 2 additions and 2 deletions
|
@ -414,13 +414,13 @@ latency_delay() {
|
||||||
[ -z "$idd" ] && idd=0
|
[ -z "$idd" ] && idd=0
|
||||||
[ -z "$idu" ] && idu=0
|
[ -z "$idu" ] && idu=0
|
||||||
|
|
||||||
if [ "$idd" > 100 ]; then
|
if [ "$idd" -gt 100 ]; then
|
||||||
idd_s="Interleave"
|
idd_s="Interleave"
|
||||||
else
|
else
|
||||||
idd_s="Fast"
|
idd_s="Fast"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$idu" > 100 ]; then
|
if [ "$idu" -gt 100 ]; then
|
||||||
idu_s="Interleave"
|
idu_s="Interleave"
|
||||||
else
|
else
|
||||||
idu_s="Fast"
|
idu_s="Fast"
|
||||||
|
|
Loading…
Reference in a new issue