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:
@@ -64,10 +64,6 @@ if [ -n "${ALSA_CARD:-}" ]; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Give permission to group audio
|
|
||||||
bashio::log.info "Adding user to audio group"
|
|
||||||
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)"
|
||||||
[ -f /etc/timezone ] && echo "$CURRENT_TIMEZONE" | sudo tee /etc/timezone > /dev/null
|
[ -f /etc/timezone ] && echo "$CURRENT_TIMEZONE" | sudo tee /etc/timezone > /dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user