mirror of
https://github.com/AlexisTM/RT-WiFi.git
synced 2024-12-24 07:46:55 +00:00
18 lines
322 B
Bash
Executable File
18 lines
322 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
source ./scripts/mod_helpers.sh
|
|
|
|
if test "$(mod_filename mac80211)" = "mac80211.ko.gz" ; then
|
|
compr=".gz"
|
|
else
|
|
compr=""
|
|
fi
|
|
|
|
for driver in $(find ${BACKPORT_PWD} -type f -name *.ko); do
|
|
mod_name=${driver/${BACKPORT_PWD}/${KLIB}${KMODDIR}}${compr}
|
|
echo " uninstall" $mod_name
|
|
rm -f $mod_name
|
|
done
|