mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-26 07:32:06 +08:00
c7464fc615
The code has been adjusted to perform a check for Sunnylink registration in the main function of the sunnylinkd script. Previously, the script was checking for the SunnylinkEnabled state and if the dongle is registered at the beginning of the script. Now, these checks are executed within the main function, allowing the script to exit with a warning log if Sunnylink is not enabled.