From fee3d6c0832057c2f1211cd59799e4c53a19a293 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sat, 9 Apr 2016 10:25:20 +0000 Subject: [PATCH] lantiq-dsl: bugfix db negative sign after comma If db is negative minus sign was shown after comma Signed-off-by: Florian Eckert SVN-Revision: 49135 --- target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh b/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh index aefefcd42b..adf245aa3b 100755 --- a/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh +++ b/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh @@ -31,7 +31,7 @@ dsl_string() { dbt() { local a=$(expr $1 / 10) local b=$(expr $1 % 10) - echo "${a}.${b}" + echo "${a}.${b#-}" } # # Take a number and convert to k or meg -- 2.30.2