2025-08-23 17:03:01 +02:00

27 lines
343 B
Bash

#!/bin/sh
NAME=realtek-r8168
VERSION=8.055.00
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