We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a84ca2d commit f46e873Copy full SHA for f46e873
dockers/docker-router-advertiser/start.sh
@@ -14,5 +14,12 @@ fi
14
# Generate /etc/radvd.conf config file
15
sonic-cfggen -d -t /usr/share/sonic/templates/radvd.conf.j2 > /etc/radvd.conf
16
17
+# Enusre at least one interface is specified in radvd.conf
18
+NUM_IFACES=$(grep -c "^interface " /etc/radvd.conf)
19
+if [ $NUM_IFACES -eq 0 ]; then
20
+ echo "No interfaces specified in radvd.conf. Not starting router advertiser process."
21
+ exit 0
22
+fi
23
+
24
# Start the router advertiser
25
supervisorctl start radvd
0 commit comments