Update 93-openvpn.sh

This commit is contained in:
Alexandre
2022-05-03 17:17:41 +02:00
committed by GitHub
parent 8daae86241
commit 0e4df226c0

View File

@@ -110,3 +110,14 @@ else
bashio::log.info "Direct connection without VPN enabled"
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