sonic-buildimage/platform/broadcom/sonic-platform-modules-cel/debian/platform-modules-haliburton.postinst
sandycelestica f938e7fc79
[celestica]: Fix E1031 udev rules not work for sonic os first boot after be installed (#7043)
Use udevadm to trigger the udev rules on the first boot

How to verify:

- Connect C0 with E1031;
- Install or upgrade the sonic os to 202012 branch;
- When access to sonic check if /dev/C0-1 to /dev/C0-48 are existed.
2021-03-13 15:35:59 -08:00

13 lines
389 B
Plaintext

depmod -a
sudo chmod +x /usr/local/bin/udev_prefix.sh
sudo chmod +x /usr/local/bin/popmsg.sh
sudo chmod +x /usr/local/bin/reload_udev.sh
systemctl enable platform-modules-haliburton.service
systemctl enable fancontrol.service
systemctl start platform-modules-haliburton.service
systemctl start fancontrol.service
/usr/local/bin/platform_api_mgnt.sh install
/usr/local/bin/reload_udev.sh