Read -p "Enter OpenVPN username: " "openvpn_username " Rm -rf " $(get_protonvpn_cli_home )/ " # Previous profile will be removed/overwritten, if any. Would you like to start over with a fresh configuration? : "Įcho " Profile initialization canceled. " > " $(get_protonvpn_cli_home )/.dialogrc "Įcho -n " User profile for protonvpn-cli has already been initialized. Sleep 2 # Sleep for 2 seconds before retrying. | $python -c 'import json _ = open("/dev/stdin", "r").read() print(json.loads(_)) ' 2> /dev/null ) Ip= $(wget -header 'x-pm-appversion: Other ' \ Rm -f "/etc/openvpn/update-resolv-conf " 2> /dev/null
Wget " " -O "/etc/openvpn/update-resolv-conf "Ĭhmod +x "/etc/openvpn/update-resolv-conf "Įcho " Error installing update-resolv-conf. Sha512sum_tool= " $(which shasum ) -a 512 "Įcho " Error: Installation requires root access. USER_HOME= $(getent passwd " $CURRENT_USER " 2> /dev/null | cut -d: -f6 )
Read -p "Would you like protonvpn-cli to install update-resolv-conf? (y/N): " "user_confirm " "Įcho " Error: update-resolv-conf is not installed. Install \`sha512sum \` package to continue. "Įcho " Error: sha512sum is not installed. Install \`iptables \` package to continue. "Įcho " Error: iptables is not installed. If ] thenĮcho " Error: sysctl is not installed. Install \`openvpn \` package to continue.