On Sun, Jun 16, 2013 at 4:52 PM, ASIC Felix <[email protected]> wrote:
> diff --git a/backport/scripts/uninstall.sh b/backport/scripts/uninstall.sh
> new file mode 100755
> index 0000000..2dcf4da
> --- /dev/null
> +++ b/backport/scripts/uninstall.sh
> @@ -0,0 +1,17 @@
> +#!/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 -type f -name *.ko); do
Looks good except for the path here, as it is this would search from
the current path, no?
> + mod_name=$KLIB"updates/"$driver$compr
and to make things clearer, can you do ${driver}${compr}
> + echo UNINSTALLING $mod_name
No need for caps please.
Luis
--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html