sonic-buildimage/platform/broadcom/sonic-platform-modules-ragile/debian/platform-modules-ragile-ra-b6510-48v8c.postinst
pettershao-ragilenetworks b30cf44b93
[Platform/Ragile] Support RA-B6510-48v8c platform (#7620)
Add new platform x86_64-ragile_ra-b6510-48v8c-r0
ASIC Vendor: Broadcom
Switch ASIC: Trident 3
Port Config: 48x25G+8x100G

Signed-off-by: pettershao-ragilenetworks <pettershao@ragilenetworks.com>
2021-06-03 10:51:01 -07:00

18 lines
436 B
Bash
Executable File

#!/bin/sh
# postinst
kernel_version=$(uname -r)
if [ -e /boot/System.map-${kernel_version} ]; then
depmod -a -F /boot/System.map-${kernel_version} ${kernel_version} || true
fi
# enable platform-service
depmod -a
# systemctl enable platform-modules-ra-b6510-48v8c.service
# systemctl start platform-modules-ra-b6510-48v8c.service
systemctl enable pddf-platform-init.service
systemctl start pddf-platform-init.service
#DEBHELPER#