* fix sed device or resource busy errors
Signed-off-by: Jonathan Sloan <jsloan117@gmail.com>
* update info
Signed-off-by: Jonathan Sloan <jsloan117@gmail.com>
* update docs
Signed-off-by: Jonathan Sloan <jsloan117@gmail.com>
* log and fail if config is a mountpoint
Signed-off-by: Jonathan Sloan <jsloan117@gmail.com>
* correct mountpoint check
Signed-off-by: Jonathan Sloan <jsloan117@gmail.com>
Signed-off-by: Jonathan Sloan <jsloan117@gmail.com>
* Fixed typo in line 95
`form` to `from`
* supported setting DISABLE_PORT_UPDATER to false
previously DISABLE_PORT_UPDATER had to not exist..now it can also be set to false
* Fix minor typos (#2074)
* Fixed missing $ from UFW variable use
There were a number of variable references missing $
* Fixed some more variables missing $
* Removed outdated typeset
this fixes and closes#2095
* Fix building-blocks links (#2126)
* Update bug_report.yaml
* Update start.sh
Co-authored-by: Kobi <kobirosenstein@gmail.com>
Co-authored-by: Kristian Haugene <haugene@users.noreply.github.com>
Co-authored-by: Patrick Kishino <patrick.a.kishino@gmail.com>
Co-authored-by: Sean Kelly <xconverge@users.noreply.github.com>
Co-authored-by: Chris Buckley <chris@cmbuckley.co.uk>
* Fixed typo in line 95
`form` to `from`
* supported setting DISABLE_PORT_UPDATER to false
previously DISABLE_PORT_UPDATER had to not exist..now it can also be set to false
* Fix minor typos (#2074)
* Fixed missing $ from UFW variable use
There were a number of variable references missing $
* Fixed some more variables missing $
* Removed outdated typeset
this fixes and closes#2095
* add capability for routes-post-start.sh
* update docs
* amended position
placed entry where it should be in logical order when thinking about container lifecycle
Co-authored-by: Kobi <kobirosenstein@gmail.com>
Co-authored-by: Kristian Haugene <haugene@users.noreply.github.com>
Co-authored-by: Patrick Kishino <patrick.a.kishino@gmail.com>
Co-authored-by: Sean Kelly <xconverge@users.noreply.github.com>
* DEBUG: print all lines before execution
if var DEBUG is set to anything other than false, each bash script will be run with a set -x. This would ease debugging
* DEBUG: centralize commands in utils.sh
* Add openvpn-post-config hook
Adds a script check for /scripts/openvpn-post-config.sh, designed so you can make any custom changes to the selected openvpn config file after everything else is ready.
* Update config documentation
Added openvpn-post-config to the documentation. Not sure if openvpn-pre-start should be edited to say before the configuration is processed.
* Fix typo
Serves me right for making changes before bed.
VYPRVPN sets $PWD to a deleted directory, which causes a cascade of
issues for the rest of `start.sh`.
This saves the current directory before sourcing `configure-openvpn.sh`
scripts, making sure such an issue cannot happen for any VPN.
A proper fix would be to avoid sourcing the script in the first place.
* Add dns resolution test to healthcheck script
* Add dns resolution test to start script
Co-authored-by: Patrick Kishino <patrick.a.kishino@gmail.com>
VPNBOOK password is provided as a picture/image. The http://api.ocr.space/parse/image service erroneously sees a space between certain character combinations. Since passwords generally do not contain spaces, this extra awk expression removes the space.