Update and rename MantenerFIFO to MantenerFIFO.md
[vsorcdistro/.git] / scripts / conectionmonitor.py
1 #!/usr/bin/python
2 import os
3 print "Raspberry Pi UP!"
4 for i in range(2,16):
5     hostname = "rpi"+str(i)
6     response = os.system("ping -c 1 " + hostname +" > /dev/null")
7 #Check the response...
8     if response == 0:
9         print hostname
10