From: Florian Eckert <eckert.flor...@googlemail.com> If db is negative minus sign was shown after comma
Signed-off-by: Florian Eckert <eckert.flor...@googlemail.com> --- 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 aefefcd..adf245a 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.1.4 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel