freakent/dbus-mqtt-devices

setup.sh shoiuld check if there are existing entries in /data/rc.local

Closed this issue · 2 comments

Version

0.6.4 (current)

What version of VenusOS are you running on your GX device

3.20 (current release)

Does this issue occur during installation or at runtime ?

Installation

Is there a Discussion thread for this issue? Please paste a link.

#85 (comment)

What is the issue you are actually experiencing?

When installing a new version you end up with multiple entries in the /data/rc.local file. Setup.sh should either warn the user or diable the existing entry. Currently users have to tske the time to find the Troubleshooting section in the readme which is suboptimal.

What does the status payload look like that you are publishing to the driver to register your device?

No response

Relevant log output

No response

Initially thought it would be easier to update the README with some instructions but after a little investigation fugured out an awk script that could comment out any unwanted lines.

Fixed in v0.6.5