File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
platform/broadcom/docker-syncd-brcm Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 18
18
fi
19
19
fi
20
20
21
+ rm -f /var/run/sswsyncd/sswsyncd.socket
21
22
supervisorctl start syncd
22
23
23
24
# Function: wait until syncd has created the socket for bcmcmd to connect to
@@ -36,5 +37,5 @@ wait_syncd() {
36
37
# If this platform has an initialization file for the Broadcom LED microprocessor, load it
37
38
if [ -r ${PLATFORM_DIR} /led_proc_init.soc ]; then
38
39
wait_syncd
39
- /usr/bin/bcmcmd -t 60 " rcload ${PLATFORM_DIR} /led_proc_init.soc "
40
+ supervisorctl start ledinit
40
41
fi
Original file line number Diff line number Diff line change @@ -26,3 +26,11 @@ autostart=false
26
26
autorestart=false
27
27
stdout_logfile=syslog
28
28
stderr_logfile=syslog
29
+
30
+ [program:ledinit]
31
+ command=/usr/bin/bcmcmd -t 60 "rcload /usr/share/sonic/platform/led_proc_init.soc"
32
+ priority=4
33
+ autostart=false
34
+ autorestart=false
35
+ stdout_logfile=syslog
36
+ stderr_logfile=syslog
You can’t perform that action at this time.
0 commit comments