now link dvb-s frontends to dvb-s2 frontends is possible
[enigma2.git] / lib / python / Components / Network.py
index 03602f29fccf7863d6ceeaa26ba1161e2b526db3..d94fa30cd68851e29407e0962c7ebe751c95ecf0 100644 (file)
@@ -294,9 +294,10 @@ class Network:
                self.getInterfaces()    
 
        def checkNetworkState(self):
-               return system("ping -c 1 82.149.226.170") == 0 or \ # www.dream-multimedia-tv.de
-                       system("ping -c 1 193.99.144.85") == 0 or \ # www.heise.de
-                       system("ping -c 1 209.85.135.103") == 0 # www.google.de
+                # www.dream-multimedia-tv.de, www.heise.de, www.google.de
+               return system("ping -c 1 82.149.226.170") == 0 or \
+                       system("ping -c 1 193.99.144.85") == 0 or \
+                       system("ping -c 1 209.85.135.103") == 0
 
        def restartNetwork(self):
                iNetwork.deactivateNetworkConfig()