iosched: fix for SA6400

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-01-22 19:32:51 +01:00
parent 4ccfd454a9
commit 7a95ae32a6

View File

@ -9,7 +9,11 @@ for arg in "$@"; do
insmod /usr/lib/modules/rp.ko
rm /usr/lib/modules/rp.ko
rm /usr/sbin/modprobe
ln -s /usr/bin/kmod /usr/sbin/modprobe
ln -sf /usr/bin/kmod /usr/sbin/modprobe
exit 0
else
rm /usr/sbin/modprobe
ln -sf /usr/bin/kmod /usr/sbin/modprobe
exit 0
fi
done