for x in {1..48}; do accton_as7312_util.py set sfp $x 0; done
Could you modify the platform monitor service file (source example: https://github.com/Azure/sonic-buildimage/blob/master/platform/broadcom/sonic-platform-modules-accton/as7312-54x/service/as7312-platform-monitor.service) to include your command?
On the system, you can find the location of the file using the `systemctl status <your-service-name>.service` command.
HTH,
Jeff
From: sonicp...@googlegroups.com <sonicp...@googlegroups.com>
On Behalf Of Justin Hannah
Sent: Tuesday, May 11, 2021 12:53
To: sonicproject
Subject: [SONiC] Good place to put a boot time script for SONiC?
[EXTERNAL EMAIL]
--
You received this message because you are subscribed to the Google Groups "sonicproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
sonicproject...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sonicproject/48c62b6f-8906-42bb-ad05-1a5b7ef67260n%40googlegroups.com [groups.google.com].