Merge GetExternalIP to update_ip
add mutex to ini_write
daemon uses fork, show daemon status in web page