sonic-buildimage/platform/broadcom/sonic-platform-modules-dell/debian/platform-modules-z9100.postinst
zhenggen-xu 75964ef243 [baseimage]: Add fstrim service and fstrim timer by default (#2804)
This service (weekly) will let SSD firmware to do the garbage collection
after file-system deleted files. It could avoid slowness or
even READ-ONLY error due to SSD not being able to free the pages
even though the file system thinks there was a lot of space left.

Signed-off-by: Zhenggen Xu <zxu@linkedin.com>
2019-04-21 14:21:16 -07:00

13 lines
315 B
Plaintext

# postinst script for Z9100
# Enable Dell-Z9100-platform-service
depmod -a
systemctl enable platform-modules-z9100.service
systemctl start platform-modules-z9100.service
# Enable Dell-Z9100-Qsfp-Monitor-service
systemctl enable z9100-qsfp-monitor.service
systemctl start z9100-qsfp-monitor.service
#DEBHELPER#