mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Delete 10-requirements.sh
This commit is contained in:
@@ -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
|
|
||||||
Reference in New Issue
Block a user