mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Update 80-configuration.sh
This commit is contained in:
@@ -44,8 +44,6 @@ fi
|
|||||||
|
|
||||||
# Set password
|
# Set password
|
||||||
if bashio::config.has_value 'PASSWORD'; then
|
if bashio::config.has_value 'PASSWORD'; then
|
||||||
PASSWORD=$(bashio::config 'PASSWORD')
|
|
||||||
bashio::log.info "Setting password to the value defined in options"
|
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
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user