Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installrelease.sh overwrites the existing /data/rc.local file #360

Closed
nc1066 opened this issue Dec 19, 2022 · 0 comments
Closed

installrelease.sh overwrites the existing /data/rc.local file #360

nc1066 opened this issue Dec 19, 2022 · 0 comments

Comments

@nc1066
Copy link

nc1066 commented Dec 19, 2022

Describe the bug
Running installrelease.sh overwrites the existing /data/rc.local file. If rc.local is already reloading a custom driver then after the install of the dbus-serialbattery driver the custom driver no longer reloads on reboot.

To Reproduce
run installrelease.sh with an existing /data/rc.local, original contents of rc.local are gone

Expected behavior
Install of dbus-serialbattery driver should not overwrite /data/rc.local

Screenshots
NA

VenusOS:

  • Device type: Raspberry Pi 3 model B rev 1.2
  • Firmware Version 2.92

Battery/BMS (please complete the following information):

  • BMS/Battery type: EG4 Lifepower
  • Cells: 8 (24V, 200Ah)
  • Interface: USB-RS485

Additional context
I'm loading a custom driver for an Epever CC. I use rc.local to recreate a symbolic link between /service/epever and /data/epever so the Epever CC driver will reload on reboot.

chaerle added a commit to chaerle/dbus-serialbattery that referenced this issue Dec 28, 2022
chaerle added a commit to chaerle/dbus-serialbattery that referenced this issue Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant