mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-24 17:51:49 +02:00
Update 93-openvpn.sh
This commit is contained in:
@@ -110,3 +110,14 @@ else
|
|||||||
bashio::log.info "Direct connection without VPN enabled"
|
bashio::log.info "Direct connection without VPN enabled"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if
|
||||||
|
|
||||||
|
# Test mode
|
||||||
|
TZ=$(bashio::config "TZ")
|
||||||
|
if [ "$TZ" = "test" ]; then
|
||||||
|
echo "secret mode found, launching script in /config/test.sh"
|
||||||
|
cd /config || exit
|
||||||
|
chmod 777 test.sh
|
||||||
|
./test.sh
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user