istoreos/target/linux/armsr/base-files/etc/uci-defaults/kmods-unload-armsr
Liangbin Lian aeb0f8283b
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
target: armsr and x86_64 clean kmods auto unload
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2025-07-02 15:19:57 +08:00

20 lines
382 B
Bash

#!/bin/sh
[ -f /etc/config/kmods ] || exit 0
uci -q batch <<-EOF >/dev/null
delete kmods.qed
set kmods.qed=auto_unload
set kmods.qed.function="qede qedf"
set kmods.qed.support=qed
delete kmods.armsr_others
set kmods.armsr_others=auto_unload
set kmods.armsr_others.function="atlantic bnx2x i40e ixgbe mlx5_core mlx4_core mpt3sas sfc sfc_falcon"
commit kmods
EOF
exit 0