sonic-buildimage/platform/nephos/nephos-modules/modules/service/nps-modules.service
simonJi2018 0b6253baa1
[platform/nephos] Optimize the code to reduce changes due to the kernel upgrade (#4332)
- bug fix : Fixed an issue which the nps ko file was not loaded due to the wrong service file name
- Optimize the code to reduce changes due to the kernel upgrade
- Remove nephos ko file loaded in swss.service.j2 because it has loaded at syncd.service.j2
2020-05-21 02:21:07 -07:00

14 lines
251 B
Desktop File

[Unit]
Description=Nephos kernel modules init
After=local-fs.target
Before=syncd.service
[Service]
Type=oneshot
ExecStart=-/etc/init.d/nps-modules start
ExecStop=-/etc/init.d/nps-modules stop
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target