Skip to content

Commit

Permalink
Merge pull request #328 from fidesachates/patch-2
Browse files Browse the repository at this point in the history
fix: mqtt disconnecting immediately after boot
  • Loading branch information
alienatedsec authored Feb 4, 2024
2 parents ce95a00 + ab15cc5 commit b279d35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/static/static/home/yi-hack-v5/script/system.sh
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@ mkdir -p $YI_HACK_PREFIX/etc/dropbear
dropbear -R -B
fi

mqttv4 &
sleep 30 && mqttv4 &

if [[ $(get_config MQTT) == "yes" ]] ; then
mqtt-config &
$YI_HACK_PREFIX/script/conf2mqtt.sh &
Expand Down

0 comments on commit b279d35

Please sign in to comment.