Commit Graph

14 Commits

Author SHA1 Message Date
faireOwl 4e5714ecc5 Integration of One-Line Call for DIP
Integrated one-line call support for DIP_TOKEN=none

Fixed formatting issue introduced by longer server names of new servers

Fixed spacing to normalize output in all conditions

Updated readme to provide details about new one-line call example
2022-08-26 10:21:52 -05:00
faireOwl 9b42ad934a
Add: DIP Support (#159)
* Provision of DIP Support

Added dedicated IP support, including DIP_TOKEN for one-line calls and prompts through run_setup.sh.

Adjusted package dependency response for wireguard to list the necessary package (wireguard-tools) to utilize wg-quick.

Updated README.md to clarify package dependencies and include DIP_TOKEN.
2022-08-23 11:59:02 +02:00
a1346054 2eaa262bbe make color definitions portable 2022-02-19 04:01:13 +02:00
a1346054 a5bd8532be unify quoting style for echo 2022-02-19 04:01:13 +02:00
a1346054 a534a3cc5f fix conditionals 2022-02-19 04:01:13 +02:00
a1346054 f47b320a4a use modern shell syntax and fix various warnings
This unifies the codestyle across all shell scripts, and fixes many
warnings reported through shellcheck. Additionally, it improves
readability for everyone wishing to see what is actually going on.
2022-02-19 04:01:13 +02:00
a1346054 27ed048374 fix spelling 2022-02-19 04:01:13 +02:00
a1346054 e2b9b733af use proper check for root privileges
The root user is not guaranteed to be named 'root'
2022-02-19 04:01:13 +02:00
Valery Kalesnik b04be889f0 Address some shellcheck reported issues 2021-09-12 20:19:21 +03:00
John Parton 1e44d65aab Replace #!/bin/bash shebang with #!/usr/bin/env bash 2021-09-12 14:21:00 +03:00
faireOwl b8cb2c3684 Normalize spacing
Added a few \n to echos for invalid input notifications, normalizing spacing.
2021-01-26 21:40:20 +02:00
gunix 742a492eee Region Selection and Other Improvements
- separated get_region and get_token into two separate scripts, allowing for independent calls to each if desired; this also allows the implementation of other features mentioned below
- implemented use of new centralized authentication server for easier automation; the new API is  located at https://privateinternetaccess.com/gtoken/generateToken
- added server selection capabilities to run_setup.sh, as requested by multiple users
- added one-line call capabilities to run_setup.sh to allow easy automation
- changed PIA_AUTOCONNECT to VPN_PROTOCOL for clarity
- added AUTOCONNECT for one-line calls
- added PREFERRED_REGION for one-line calls
- added colored output to highlight important details
- added input validation for prompts in run_setup.sh
2021-01-22 01:12:23 +02:00
nurupo 7a76a24a76
Small fixes (#16)
A lot of typo fixes.
2020-10-12 22:49:40 +03:00
gunix 366f132d1e added support for OpenVPN 2020-10-09 23:11:51 +03:00