Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

Commit

Permalink
🚑Fixes an startup issue where allow_anonymous was true and no users w…
Browse files Browse the repository at this point in the history
…as defined.
  • Loading branch information
ludeeus committed Oct 20, 2018
1 parent 3efac30 commit 237d565
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mqtt/rootfs/etc/cont-init.d/20-mqtt_broker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ if hass.config.true 'broker.enabled'; then
echo "allow_anonymous false" >> "$CONFIG"
fi

# Create ACL file
touch "$ACL_FILE"

# Set username and password for the broker
if ! hass.config.true 'leave_front_door_open'; then
touch "$PWFILE"
Expand Down

0 comments on commit 237d565

Please sign in to comment.