wireless-net/trunk/sbin/gen-wlan-files.py

arekm cvs at pld-linux.org
Mon Jul 18 22:56:34 CEST 2005


Author: arekm
Date: Mon Jul 18 22:56:31 2005
New Revision: 6220

Modified:
   wireless-net/trunk/sbin/gen-wlan-files.py
Log:
Hide iwspy errors (need to detect whether iface is wireless instead of ignoring errors but ...)

Modified: wireless-net/trunk/sbin/gen-wlan-files.py
==============================================================================
--- wireless-net/trunk/sbin/gen-wlan-files.py	(original)
+++ wireless-net/trunk/sbin/gen-wlan-files.py	Mon Jul 18 22:56:31 2005
@@ -75,7 +75,7 @@
     fpmrtg.write("LegendO[%s.quality]:  Sr Iface: \n"% host)
     fpmrtg.write("\n")
 
-    os.system("/sbin/iwspy %s + %s" % (iface, mac))
+    os.system("/sbin/iwspy %s + %s 2> /dev/null" % (iface, mac))
 
 for iface in ap_iface:
     os.system("tc qdisc del root dev %s 2> /dev/null" % iface)



More information about the pld-cvs-commit mailing list