f938e7fc79
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.
13 lines
389 B
Plaintext
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
|