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

arekm cvs at pld-linux.org
Thu Dec 8 23:39:46 CET 2005


Author: arekm
Date: Thu Dec  8 23:39:43 2005
New Revision: 6625

Modified:
   wireless-net/trunk/sbin/gen-wlan-files.py
Log:
Revert, test was correct.

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	Thu Dec  8 23:39:43 2005
@@ -16,7 +16,7 @@
     s.close()
     return True
 
-is_p2p = os.system("iptables -m p2p --help 2>&1 | grep -qE 'match.*p2p'")
+is_p2p = os.system("iptables -m p2p --help > /dev/null 2>&1")
 if is_p2p == 0:
 	is_p2p = True
 else:



More information about the pld-cvs-commit mailing list