Delete 10-requirements.sh

This commit is contained in:
Alexandre
2020-12-13 12:10:07 +01:00
committed by GitHub
parent fc30b53bea
commit 5cd69daf8f

View File

@@ -1,15 +0,0 @@
#!/usr/bin/with-contenv bashio
# ==============================================================================
# This files check if all user configuration requirements are met
# ==============================================================================
# Check authentication requirements, if enabled
if bashio::config.true 'authentication_required'; then
if ! bashio::config.has_value 'username'; then
bashio::exit.nok 'Transmission authentication is enabled, but no username was specified'
fi
if ! bashio::config.has_value 'password'; then
bashio::exit.nok 'Transmission authentication is enabled, but no password was specified'
fi
fi