#!/usr/bin/env python
import os
#subprocess

sudopassword = 'givemepower'
command = 'python ~/reconfig/reconfig.py'
os.popen("sudo /home/ruler/reconfig/up.sh")
print("Content-type: text/html\n")
print("<p>Proxy been reconfigured</p>")
print("""<p><a href="main.py">Return back</a></p>""")
print("""<meta http-equiv="refresh" content="5;main.py">""")

