Index: server/site_linux_router.py |
diff --git a/server/site_linux_router.py b/server/site_linux_router.py |
index f3f5e38c953ff26f259d19a3b35c4b4f9f2a4c78..4c00c6aa5bb8babcecfb612f98433b8efcc06524 100644 |
--- a/server/site_linux_router.py |
+++ b/server/site_linux_router.py |
@@ -2,6 +2,12 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import re |
+ |
+def isLinuxRouter(router): |
+ router_uname = router.run('uname').stdout |
+ return re.search('Linux', router_uname) |
+ |
class LinuxRouter(object): |
""" |
Linux/mac80211-style WiFi Router support for WiFiTest class. |