mirror of
https://github.com/gnab/rtl8812au
synced 2025-01-08 17:46:23 +00:00
29 lines
335 B
Bash
29 lines
335 B
Bash
#!/bin/sh
|
|
|
|
NAME=8812au
|
|
VERSION=4.2.2
|
|
|
|
set -e
|
|
|
|
case "$1" in
|
|
remove|upgrade|deconfigure)
|
|
if [ "`dkms status -m $NAME`" ]; then
|
|
dkms remove -m $NAME -v $VERSION --all
|
|
fi
|
|
;;
|
|
|
|
failed-upgrade)
|
|
;;
|
|
|
|
*)
|
|
echo "prerm called with unknown argument \`$1'" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
|
|
|
|
exit 0
|
|
|
|
|