Skip to content

Commit

Permalink
Merge pull request #325 from tiiuae/fix/remove_radvd_and_socat_servic…
Browse files Browse the repository at this point in the history
…e_configs

Remove radvd modification from mesh_helper
  • Loading branch information
joenpera authored Oct 27, 2023
2 parents 2e22492 + 624610b commit 4be8d6e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 77 deletions.
13 changes: 0 additions & 13 deletions common/scripts/mesh-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,6 @@ generate_br_lan_ip() {
local ip_random
ip_random="$(echo "$mesh_if_mac" | cut -b 16-17)"
br_lan_ip="192.168.1."$((16#$ip_random))


cat > /etc/radvd.conf <<- EOF
interface br-lan {
AdvSendAdvert on;
MinRtrAdvInterval 3;
MaxRtrAdvInterval 10;
prefix 2001:db8:1234:5678::/64 {
AdvOnLink on;
AdvAutonomous on;
};
};
EOF
}

source_configuration() {
Expand Down
60 changes: 0 additions & 60 deletions modules/sc-mesh-secure-deployment/src/nats/initd/S90socat

This file was deleted.

4 changes: 0 additions & 4 deletions modules/utils/docker/entrypoint_nats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ else
echo "starting nats server"
/opt/S90nats_server start

echo "starting radvd & socat"
radvd -C /etc/radvd.conf # TODO: for some reason init.d is not working
/opt/S90socat start # socat is used to provide IPv6 NATS IF

echo "starting comms services"
/opt/S90comms_controller start

Expand Down

0 comments on commit 4be8d6e

Please sign in to comment.