#!/usr/bin/python3

#import os
#import sys
#import time

#while True:
#	if '192' not in os.popen('ifconfig |grep 192').read():
#		print("\n**********wifi is down, restart... ***********\n")
#		#os.system('sudo ifdown wlan0')
#		#os.system('sudo ifup wlan0')
#		os.system('sudo /etc/init.d/networking restart')
#	time.sleep(1*60)
#	#print('Connected, WiFi state is OK ....\n')


print("Now, use cron script <check_and_run.sh> to check and run networking/frpc/webservice.")