From b105ae21cd47682a4e426604cb15ee6c11aea201 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Thu, 22 Oct 2009 16:36:54 +0200 Subject: README: updated net description --- README | 7 +++---- net.lua | 1 - 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README b/README index cf704d7..f545247 100644 --- a/README +++ b/README @@ -207,10 +207,9 @@ vicious.widgets.net - provides usage statistics for all network interfaces - returns a table with custom keys, using net interfaces as a base: {eth0 rx_b}, {eth0 tx_b}, {eth0 rx_kb}, {eth0 tx_kb}, {eth0 rx_mb}, - {eth0 tx_mb}, {eth0 rx_gb}, {eth0 tx_gb}, {eth0 down}, {eth0 up}, - {eth0 down_b}, {eth0 up_b}, {eth0 down_kb}, {eth0 up_kb}, - {eth0 down_mb}, {eth0 up_mb}, {eth0 down_gb}, {eth0 up_gb}, - {eth1 rx_b} etc. + {eth0 tx_mb}, {eth0 rx_gb}, {eth0 tx_gb}, {eth0 down_b}, {eth0 up_b}, + {eth0 down_kb}, {eth0 up_kb}, {eth0 down_mb}, {eth0 up_mb}, + {eth0 down_gb}, {eth0 up_gb}, {eth1 rx_b} etc. vicious.widgets.wifi - provides wireless information for a requested interface diff --git a/net.lua b/net.lua index 7ec32f3..2fa27b4 100644 --- a/net.lua +++ b/net.lua @@ -10,7 +10,6 @@ local tonumber = tonumber local os = { time = os.time } local io = { open = io.open } local setmetatable = setmetatable -local math = { floor = math.floor } local string = { match = string.match, format = string.format -- cgit v1.2.3