diff options
Diffstat (limited to 'backport/scripts/uninstall.sh')
-rwxr-xr-x | backport/scripts/uninstall.sh | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/backport/scripts/uninstall.sh b/backport/scripts/uninstall.sh deleted file mode 100755 index 91a0fe62..00000000 --- a/backport/scripts/uninstall.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -set -e - -source ./scripts/mod_helpers.sh - -if test "$(mod_filename compat)" = "compat.ko.gz" ; then - compr=".gz" -elif test "$(mod_filename compat)" = "compat.ko.xz" ; then - compr=".xz" -else - compr="" -fi - -for driver in $(find ${BACKPORT_DIR} -type f -name *.ko); do - mod_name=${driver/${BACKPORT_DIR}/${KLIB}${KMODDIR}}${compr} - echo " uninstall" $mod_name - rm -f $mod_name -done |