#!/bin/bash if export http_proxy=http://:@localhost: && wget -qO- http://ifconfig.me/ip; then exit 0; else /usr/local/bin/start_router.sh exit 1; fi