예제 #1
0
파일: __init__.py 프로젝트: xuhai5/fqrouter
def handle_reset(environ, start_response):
    start_response(httplib.OK, [('Content-Type', 'text/plain')])
    enable_wifi_p2p_service()
    restore_config_files()
    stop_hotspot()
    return []
예제 #2
0
def wifi_reset():
    wifi.enable_wifi_p2p_service()
    wifi.restore_config_files()
    wifi.stop_hotspot()
예제 #3
0
파일: main.py 프로젝트: acekiller/fqrouter
def wifi_reset():
    wifi.enable_wifi_p2p_service()
    wifi.restore_config_files()
    wifi.stop_hotspot()
예제 #4
0
def handle_reset(environ, start_response):
    start_response(httplib.OK, [('Content-Type', 'text/plain')])
    enable_wifi_p2p_service()
    restore_config_files()
    stop_hotspot()
    return []