mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update 99-run.sh
This commit is contained in:
@@ -18,10 +18,6 @@ fi
|
|||||||
# SET SYSTEM #
|
# SET SYSTEM #
|
||||||
##############
|
##############
|
||||||
|
|
||||||
#####################
|
|
||||||
# ADD USER TO AUDIO #
|
|
||||||
#####################
|
|
||||||
|
|
||||||
# Set password
|
# Set password
|
||||||
bashio::log.info "Setting password for the user pi"
|
bashio::log.info "Setting password for the user pi"
|
||||||
if bashio::config.has_value "pi_password"; then
|
if bashio::config.has_value "pi_password"; then
|
||||||
@@ -70,7 +66,7 @@ fi
|
|||||||
|
|
||||||
# Give permission to group audio
|
# Give permission to group audio
|
||||||
bashio::log.info "Adding user to audio group"
|
bashio::log.info "Adding user to audio group"
|
||||||
sudo usermod -aG audio pi || true
|
usermod -aG audio pi || true
|
||||||
|
|
||||||
# Fix timezone as per installer
|
# Fix timezone as per installer
|
||||||
CURRENT_TIMEZONE="$(timedatectl show --value --property=Timezone)"
|
CURRENT_TIMEZONE="$(timedatectl show --value --property=Timezone)"
|
||||||
|
|||||||
Reference in New Issue
Block a user