Rooooooooooh

This commit is contained in:
2025-12-30 03:33:50 +01:00
parent 6e30e14175
commit 34896df097

View File

@@ -6,8 +6,8 @@ echo "Creating password file with pre-registered users..."
if [ ! -f "$PASSWORD_FILE" ]; then
touch "$PASSWORD_FILE"
chmod 600 "$PASSWORD_FILE"
chown mosquitto:mosquitto "$PASSWORD_FILE"
# Add pre-registered users
mosquitto_passwd -b "$PASSWORD_FILE" main hepl
mosquitto_passwd -b "$PASSWORD_FILE" nodered hepl
mosquitto_passwd -b "$PASSWORD_FILE" pi-1 hepl