From 4e09e29496941d71f9e2d2f7c5f021416c68acd0 Mon Sep 17 00:00:00 2001 From: Yinyin Liu Date: Mon, 16 Dec 2024 18:15:01 +0100 Subject: [PATCH] add EmuMeter symlink in rc.local to Cerbo and Venus --- firmware/Cerbo_Release/CerboReleaseFiles/rc.local | 6 ++++++ firmware/Venus_Release/VenusReleaseFiles/rc.local | 10 ++++++++++ 2 files changed, 16 insertions(+) diff --git a/firmware/Cerbo_Release/CerboReleaseFiles/rc.local b/firmware/Cerbo_Release/CerboReleaseFiles/rc.local index aae15bd89..6e70344de 100755 --- a/firmware/Cerbo_Release/CerboReleaseFiles/rc.local +++ b/firmware/Cerbo_Release/CerboReleaseFiles/rc.local @@ -60,5 +60,11 @@ vpn_service_path="/data/innovenergy/openvpn/service" vpn_symlink_path="/service/openvpn" ln -s "$vpn_service_path" "$vpn_symlink_path" +# # Set EmuMeter service symlink +# echo "Creating symbolic link to EmuMeter service..." +# EmuMeter_service_path="/data/EmuMeter/service" +# EmuMeter_symlink_path="/service/EmuMeter" +# ln -s "$EmuMeter_service_path" "$EmuMeter_symlink_path" + exit 0 diff --git a/firmware/Venus_Release/VenusReleaseFiles/rc.local b/firmware/Venus_Release/VenusReleaseFiles/rc.local index 835ef15cf..090ac34e0 100644 --- a/firmware/Venus_Release/VenusReleaseFiles/rc.local +++ b/firmware/Venus_Release/VenusReleaseFiles/rc.local @@ -53,4 +53,14 @@ aggregator_service_path="/data/aggregator" aggregator_symlink_path="/service" ln -s "$aggregator_service_path" "$aggregator_symlink_path" +# Set VPN serive symlink +echo "Creating symbolic link to VPN service..." +ln -s /data/innovenergy/openvpn/service /service/openvpn + +# # Set EmuMeter service symlink +# echo "Creating symbolic link to EmuMeter service..." +# EmuMeter_service_path="/data/EmuMeter/service" +# EmuMeter_symlink_path="/service/EmuMeter" +# ln -s "$EmuMeter_service_path" "$EmuMeter_symlink_path" + exit 0