sonic-buildimage/platform/pddf/i2c/service/pddf-s3ip-init.service
FuzailBrcm 771a1170d8
[pddf]: Adding and enabling S3IP support in PDDF (#15073)
Why I did it
The S3IP (Simplified Switch System INtegration Program) sysfs specification defines a unified interface to access peripheral hardware on devices from different vendors, making it easier for SONiC to support different devices and platforms.

PDDF is a framework to simplify the driver and SONiC platform APIs development for new platforms. This effort is first step in combining the two frameworks.

This specific PR adds support for pddf-s3ip-init.service and enables it in PDDF.
2023-05-18 13:13:16 -07:00

15 lines
335 B
Desktop File

[Unit]
Description=S3IP sysfs creation in PDDF based platforms
After=pddf-platform-init.service
DefaultDependencies=no
[Service]
Type=oneshot
ExecStartPre=-/usr/local/bin/pre_pddf_s3ip.sh
ExecStart=/usr/local/bin/pddf_s3ip.py create
ExecStop=/usr/local/bin/pddf_s3ip.py clean
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target