#!/bin/bash if test "$1" == "start" then openvpn /userdata/system/openvpn/.ovpn & elif test "$1" == "stop" then killall -9 openvpn else curl ipinfo.io 2>/dev/null | jq -a '.ip, .city, .country' | tr '\n' ' ' | sed s:\"::g fi