mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update 80-configuration.sh
This commit is contained in:
@@ -44,8 +44,6 @@ fi
|
||||
|
||||
# Set password
|
||||
if bashio::config.has_value 'PASSWORD'; then
|
||||
PASSWORD=$(bashio::config 'PASSWORD')
|
||||
bashio::log.info "Setting password to the value defined in options"
|
||||
sed -i "1a export PASSWORD=$PASSWORD" /etc/services.d/web/run
|
||||
echo "$(bashio::config 'PASSWORD')" | passwd --stdin abc
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user