update rc.local files for Venus and Cerbo; create new folders to manage Venus and Cerbo release;update release script and document
This commit is contained in:
parent
a5bec1bbaa
commit
c2aad6783b
NodeRed/NodeRedFiles
firmware/Cerbo_Release
Cerbo Rollout Guidance.pdf
NodeRedFiles
dbus-fzsonick-48tl
flows.jsonopenvpnpika-0.13.1
.checkignore.codeclimate.yml.coveragerc
.github
.gitignore.travis.ymlCHANGELOG.rstCONTRIBUTING.mdLICENSEMANIFEST.inREADME.rstappveyor.ymldocs
Makefileconf.pycontributors.rstexamples.rst
examples
asynchronous_consumer_example.rstasynchronous_publisher_example.rstasyncio_consumer.rstblocking_basic_get.rstblocking_consume.rstblocking_consumer_generator.rstblocking_delivery_confirmations.rstblocking_publish_mandatory.rstcomparing_publishing_sync_async.rstconnecting_async.rstdirect_reply_to.rstheartbeat_and_blocked_timeouts.rsttls_mutual_authentication.rsttls_server_uathentication.rsttornado_consumer.rsttwisted_example.rstusing_urlparameters.rst
faq.rstindex.rstintro.rstmodules
version_history.rstexamples
asynchronous_consumer_example.pyasynchronous_publisher_example.pybasic_consumer_threaded.pyconfirmation.pyconsume.pyconsumer_queued.pyconsumer_simple.pydirect_reply_to.pyheartbeat_and_blocked_timeouts.pyproducer.pypublish.pysend.pytwisted_service.py
pika
|
@ -1,28 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
mount -o remount,rw /
|
|
||||||
|
|
||||||
# Source directory
|
|
||||||
source_dir="/data/dbus-fzsonick-48tl"
|
|
||||||
|
|
||||||
# Destination directory
|
|
||||||
destination_dir_upper="/opt/victronenergy/"
|
|
||||||
destination_dir="/opt/victronenergy/dbus-fzsonick-48tl/"
|
|
||||||
|
|
||||||
# Check if the destination directory exists
|
|
||||||
if [ -d "$destination_dir" ]; then
|
|
||||||
# Remove the destination directory
|
|
||||||
rm -r "$destination_dir"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Copy the contents of the source directory to the destination directory
|
|
||||||
cp -r "$source_dir" "$destination_dir_upper"
|
|
||||||
|
|
||||||
# Set MPPT network mode to 0
|
|
||||||
sed -i "s|('/Link/NetworkMode', [^)]*)|('/Link/NetworkMode', 0)|g" /opt/victronenergy/dbus-systemcalc-py/delegates/dvcc.py
|
|
||||||
|
|
||||||
find /data/innovenergy/openvpn -type f -exec chmod 777 {} \;
|
|
||||||
|
|
||||||
/data/innovenergy/openvpn/service/run
|
|
||||||
|
|
||||||
exit 0
|
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue