From 511e327bfc491c2b7a2f7982225225a3cd929d00 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Mon, 6 Apr 2009 10:58:42 -0700 Subject: [PATCH] use kB instead of KB --- bin/network-down | 2 +- bin/network-up | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/network-down b/bin/network-down index f63a834a..b08cacad 100755 --- a/bin/network-down +++ b/bin/network-down @@ -23,7 +23,7 @@ grep -qs "^$p=1$" "$HOME/.screen-profiles/status" || exit 0 cache="$HOME/.screen-profiles/$p" interface=`route -n | tail -n 1 | sed "s/^.* //"` -unit="KB/s" +unit="kB/s" t1=`stat -c %Y "$cache"` 2>/dev/null || t1=0 t2=`date +%s` diff --git a/bin/network-up b/bin/network-up index 0a2a9721..2f3e7f84 100755 --- a/bin/network-up +++ b/bin/network-up @@ -24,7 +24,7 @@ grep -qs "^$p=1$" "$HOME/.screen-profiles/status" || exit 0 cache="$HOME/.screen-profiles/$p" interface=`route -n | tail -n 1 | sed "s/^.* //"` -unit="KB/s" +unit="kB/s" t1=`stat -c %Y "$cache"` 2>/dev/null || t1=0 t2=`date +%s`