From a54350782e9bbd81aad3ef58a11826e3cd13134c Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Thu, 24 Sep 2009 15:34:56 +0200 Subject: General cleanup to match with HEAD --- wifi.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'wifi.lua') diff --git a/wifi.lua b/wifi.lua index 966435f..063ce06 100644 --- a/wifi.lua +++ b/wifi.lua @@ -19,13 +19,12 @@ module("vicious.wifi") -- {{{ Wireless widget type local function worker(format, iface) - -- Get data from iwconfig, on distributions where it is executable - -- by users, and /sbin or /usr/sbin is in their path + -- Get data from iwconfig (where available) local f = io.popen("iwconfig " .. iface) local iw = f:read("*all") f:close() - -- Setup tables + -- Default values local winfo = { ["{ssid}"] = "N/A", ["{mode}"] = "N/A", -- cgit v1.2.3