3 # arg 1: the new package version
5 rmmod psmouse 2> /dev/null
6 mv /lib/modules/${_kernver}/kernel/drivers/input/mouse/psmouse.ko /lib/modules/${_kernver}/kernel/drivers/input/mouse/psmouse.ko.old
9 # arg 1: the new package version
10 # arg 2: the old package version
13 mv /lib/modules/${_kernver}/kernel/drivers/input/mouse/psmouse.ko.new /lib/modules/${_kernver}/kernel/drivers/input/mouse/psmouse.ko
15 echo ">> You may now 'modprobe psmouse' to load the new module"
16 echo ">> This module needs to be recompiled for every kernel version upgrade."
19 # arg 1: the old package version
21 rmmod psmouse 2> /dev/null
22 mv /lib/modules/${_kernver}/kernel/drivers/input/mouse/psmouse.ko /lib/modules/${_kernver}/kernel/drivers/input/mouse/psmouse.ko.new
25 # arg 1: the old package version
27 mv /lib/modules/${_kernver}/kernel/drivers/input/mouse/psmouse.ko.old /lib/modules/${_kernver}/kernel/drivers/input/mouse/psmouse.ko
29 echo ">> You may have to 'modprobe psmouse' to load the old module again"
32 # arg 1: the new package version
33 # arg 2: the old package version
38 # arg 1: the new package version
39 # arg 2: the old package version