mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-30 08:27:40 +01:00
Update 93-openvpn.sh
This commit is contained in:
@@ -14,11 +14,6 @@ if bashio::config.true 'openvpn_enabled'; then
|
|||||||
bashio::log.info "Openvpn enabled, configuring"
|
bashio::log.info "Openvpn enabled, configuring"
|
||||||
bashio::log.info "----------------------------"
|
bashio::log.info "----------------------------"
|
||||||
|
|
||||||
# Get current ip
|
|
||||||
( curl -fsS --max-time 10 https://ifconfig.co/ip \
|
|
||||||
|| curl -fsS --max-time 10 https://api64.ipify.org \
|
|
||||||
|| curl -fsS --max-time 10 https://ipecho.net/plain ) > /currentip
|
|
||||||
|
|
||||||
# Function to check for files path
|
# Function to check for files path
|
||||||
function check_path() {
|
function check_path() {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user