bce4aa1412
Why I did it Ragile adapter ra-b6510-32c ra-b6510-48v8c ra-b6910-64c ra-b6920-4s to kernel 5.x Signed-off-by: “pettershao” pettershao@ragilenetworks.com
18 lines
436 B
Bash
Executable File
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#
|